public String highlightTerm(String originalText, TokenGroup tokenGroup) {if (tokenGroup.getTotalScore() <= 0) {return originalText;}StringBuilder returnBuffer = new StringBuilder(preTag.length() + originalText.length() + postTag.length());returnBuffer.append(preTag);returnBuffer.append(originalText);returnBuffer.append(postTag);return returnBuffer.toString();}

public virtual string HighlightTerm(string originalText, TokenGroup tokenGroup){if (tokenGroup.TotalScore <= 0){return originalText;}StringBuilder returnBuffer = new StringBuilder(preTag.Length + originalText.Length + postTag.Length);returnBuffer.Append(preTag);returnBuffer.Append(originalText);returnBuffer.Append(postTag);return returnBuffer.ToString();}
