| Constructor and Description |
|---|
SimpleHTMLFormatter()
Default constructor uses HTML: <B> tags to markup terms.
|
SimpleHTMLFormatter(String preTag,
String postTag) |
public SimpleHTMLFormatter()
public String highlightTerm(String originalText, TokenGroup tokenGroup)
highlightTerm in interface FormatteroriginalText - The section of text being considered for markuptokenGroup - contains one or several overlapping Tokens along with
their scores and positions.Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.