public class EccoPostTokenizer extends DefaultPostTokenizer implements PostTokenizer
Modifier and Type | Field and Description |
---|---|
protected static java.util.regex.Matcher |
eccoPostMatcher |
protected static java.util.regex.Pattern |
eccoPostPattern
Character replacer.
|
logger
Constructor and Description |
---|
EccoPostTokenizer()
Create Ecco text postTokenizer.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
postTokenize(java.lang.String token)
Process a token after tokenization.
|
getLogger, setLogger
close
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
protected static java.util.regex.Pattern eccoPostPattern
protected static java.util.regex.Matcher eccoPostMatcher
public java.lang.String[] postTokenize(java.lang.String token)
postTokenize
in interface PostTokenizer
postTokenize
in class DefaultPostTokenizer
token
- The token to process after tokenization.The minimally processed token is typically results in an original spelling.
The maximally processed token typically results in a partially or completely standardized spelling.
These may be identical.