Example usage for Java edu.stanford.nlp.process DocumentPreprocessor fields, constructors, methods, implement or subclass
The text is from its open source code.
DocumentPreprocessor(Reader input) Constructs a preprocessor from an existing input stream. | |
DocumentPreprocessor(String docPath) | |
DocumentPreprocessor |
Iterator
| iterator() Returns sentences until the document is exhausted. |
void | setEscaper(Function
Set an escaper. |
void | setSentenceFinalPuncWords(String[] sentenceFinalPuncWords) Sets the end-of-sentence delimiters. |
void | setTokenizerFactory(TokenizerFactory extends HasWord> newTokenizerFactory) Sets the factory from which to produce a Tokenizer . |