public class SpecialCharNormalizer extends Object implements TermNormalizerIF, DelimiterTrimmerIF
Constructor and Description |
---|
SpecialCharNormalizer() |
SpecialCharNormalizer(char[] _prechars,
char[] _postchars) |
SpecialCharNormalizer(String _prechars,
String _postchars) |
Modifier and Type | Method and Description |
---|---|
String |
normalize(String term) |
int |
trimEnd(String token) |
int |
trimStart(String token) |
public SpecialCharNormalizer()
public SpecialCharNormalizer(char[] _prechars, char[] _postchars)
public String normalize(String term)
normalize
in interface TermNormalizerIF
public int trimStart(String token)
trimStart
in interface DelimiterTrimmerIF
public int trimEnd(String token)
trimEnd
in interface DelimiterTrimmerIF