Interface ITerminologyMarkupProvider
Terminology providers that provide markup information with the search results when performing term recognition need to implement this interface.
Inherited Members
Namespace: SdlSdl.TerminologySdl.Terminology.TerminologyProviderCore
Assembly: Sdl.Terminology.TerminologyProvider.Core.dll
Syntax
public interface ITerminologyMarkupProvider : ITerminologyProvider, IDisposable
Methods
SearchAndMarkup(string, ILanguage, ILanguage, int, SearchMode, bool)
Performs a term recognition over the current terminology provider
Declaration
IList<SearchMarkupResult> SearchAndMarkup(string text, ILanguage source, ILanguage destination, int maxResultsCount, SearchMode mode, bool targetRequired)
Parameters
Type | Name | Description |
---|---|---|
string | text | The text to search for |
ILanguage | source | Source language |
ILanguage | destination | Destination language |
int | maxResultsCount | Maximum number of result to return |
SearchMode | mode | search mode: normal, fuzzy, full text |
bool | targetRequired | True to return only term with target language term definition |
Returns
Type | Description |
---|---|
IListSearchMarkupResult | The list of found terms together with markup information |