public interface Formatter
Modifier and Type | Method and Description |
---|---|
String |
highlightTerm(String originalText,
TokenGroup tokenGroup) |
String highlightTerm(String originalText, TokenGroup tokenGroup)
originalText
- The section of text being considered for markuptokenGroup
- contains one or several overlapping Tokens along with
their scores and positions.Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.