Interface ITermVerifierContext
ITermVerifierContext interface represents a term verifier context that provides a term verifier with the term access services that it needs.
Namespace: Sdl.Verification.Api
Assembly: Sdl.Verification.Api.dll
Syntax
public interface ITermVerifierContext
Properties
HasTermbase
Gets a boolean informing if this context has a termbase
Declaration
bool HasTermbase { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
CreateTermRecognitionEngine(CultureInfo, CultureInfo, int)
Create the term recognition engine for the given source and target cultures.
Declaration
ITerminologySearch CreateTermRecognitionEngine(CultureInfo source, CultureInfo target, int minMatch)
Parameters
| Type | Name | Description |
|---|---|---|
| CultureInfo | source | source culture |
| CultureInfo | target | target culture |
| int | minMatch | minimum match |
Returns
| Type | Description |
|---|---|
| ITerminologySearch | term recognition engine |
GetTermbaseIndexName(string)
Gets the termbase index name for the given culture name.
Declaration
string GetTermbaseIndexName(string cultureName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | cultureName | culture name |
Returns
| Type | Description |
|---|---|
| string | termbase index name |