public abstract class AbstractPostTokenizer extends IsCloseableObject implements PostTokenizer, UsesLogger
This post tokenizer leaves the token unchanged.
| Modifier and Type | Field and Description |
|---|---|
protected Logger |
logger
Logger used for output.
|
| Constructor and Description |
|---|
AbstractPostTokenizer()
Create a postTokenizer.
|
| Modifier and Type | Method and Description |
|---|---|
Logger |
getLogger()
Get the logger.
|
java.lang.String[] |
postTokenize(java.lang.String token)
Process a token after tokenization.
|
void |
setLogger(Logger logger)
Set the logger.
|
closeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseprotected Logger logger
public java.lang.String[] postTokenize(java.lang.String token)
postTokenize in interface PostTokenizertoken - 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.
public Logger getLogger()
getLogger in interface UsesLoggerpublic void setLogger(Logger logger)
setLogger in interface UsesLoggerlogger - The logger.