public class KoreanTokenizerFactory extends java.lang.Object implements TokenizerFactory
Constructor and Description |
---|
KoreanTokenizerFactory() |
Modifier and Type | Method and Description |
---|---|
Tokenizer |
create(java.io.InputStream inputStream)
Create a tokenizer based on an input stream
|
Tokenizer |
create(java.lang.String toTokenize)
The tokenizer to createComplex
|
TokenPreProcess |
getTokenPreProcessor()
Returns TokenPreProcessor set for this TokenizerFactory instance
|
void |
setTokenPreProcessor(TokenPreProcess tokenPreProcess)
Sets a token pre processor to be used
with every tokenizer
|
public Tokenizer create(java.lang.String toTokenize)
TokenizerFactory
create
in interface TokenizerFactory
toTokenize
- the string to createComplex the tokenizer withpublic Tokenizer create(java.io.InputStream inputStream)
TokenizerFactory
create
in interface TokenizerFactory
public void setTokenPreProcessor(TokenPreProcess tokenPreProcess)
TokenizerFactory
setTokenPreProcessor
in interface TokenizerFactory
tokenPreProcess
- the token pre processor to usepublic TokenPreProcess getTokenPreProcessor()
TokenizerFactory
getTokenPreProcessor
in interface TokenizerFactory