Highlighter.Net 2.0.0

Formatter.HighlightTerm Method 

string HighlightTerm(
   string originalText,
   TokenGroup tokenGroup
);

Parameters

originalText
The section of text being considered for markup
tokenGroup
contains one or several overlapping Tokens along with their scores and positions.

See Also

Formatter Interface | Lucene.Net.Highlight Namespace