public class CharacterNGramTokenizerFactoryImpl
extends java.lang.Object
implements org.deeplearning4j.text.tokenization.tokenizerfactory.TokenizerFactory, java.io.Serializable
Constructor and Description |
---|
CharacterNGramTokenizerFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
org.deeplearning4j.text.tokenization.tokenizer.Tokenizer |
create(java.io.InputStream toTokenize) |
org.deeplearning4j.text.tokenization.tokenizer.Tokenizer |
create(java.lang.String toTokenize) |
int |
getNMax() |
int |
getNMin() |
org.deeplearning4j.text.tokenization.tokenizer.TokenPreProcess |
getTokenPreProcessor() |
void |
setNMax(int nMax) |
void |
setNMin(int nMin) |
void |
setTokenPreProcessor(org.deeplearning4j.text.tokenization.tokenizer.TokenPreProcess preProcessor) |
public org.deeplearning4j.text.tokenization.tokenizer.Tokenizer create(java.lang.String toTokenize)
create
in interface org.deeplearning4j.text.tokenization.tokenizerfactory.TokenizerFactory
public org.deeplearning4j.text.tokenization.tokenizer.Tokenizer create(java.io.InputStream toTokenize)
create
in interface org.deeplearning4j.text.tokenization.tokenizerfactory.TokenizerFactory
public org.deeplearning4j.text.tokenization.tokenizer.TokenPreProcess getTokenPreProcessor()
getTokenPreProcessor
in interface org.deeplearning4j.text.tokenization.tokenizerfactory.TokenizerFactory
public void setTokenPreProcessor(org.deeplearning4j.text.tokenization.tokenizer.TokenPreProcess preProcessor)
setTokenPreProcessor
in interface org.deeplearning4j.text.tokenization.tokenizerfactory.TokenizerFactory
public int getNMax()
public void setNMax(int nMax)
public int getNMin()
public void setNMin(int nMin)