Class SimpleTokenizer
java.lang.Object
opennlp.tools.tokenize.SimpleTokenizer
- All Implemented Interfaces:
opennlp.tools.tokenize.Tokenizer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleTokenizerUse this static reference to retrieve an instance of theSimpleTokenizer. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetKeepNewLines(boolean arg0) String[]opennlp.tools.util.Span[]
-
Field Details
-
INSTANCE
Use this static reference to retrieve an instance of theSimpleTokenizer.
-
-
Method Details
-
tokenizePos
-
tokenize
-
setKeepNewLines
public void setKeepNewLines(boolean arg0)
-