Interface ITerminologyMarkupProvider
Terminology providers that provide markup information with the search results when performing term recognition need to implement this interface.
Inherited Members
IDisposable.Dispose()
Namespace: Sdl.Terminology.TerminologyProvider.Core
Assembly: Sdl.Terminology.TerminologyProvider.Core.dll
Syntax
public interface ITerminologyMarkupProvider : ITerminologyProvider, IDisposable
Methods
SearchAndMarkup(String, ILanguage, ILanguage, Int32, SearchMode, Boolean)
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 |
Int32 | maxResultsCount | Maximum number of result to return |
SearchMode | mode | search mode: normal, fuzzy, full text |
Boolean | targetRequired | True to return only term with target language term definition |
Returns
Type | Description |
---|---|
IList<SearchMarkupResult> | The list of found terms together with markup information |