Java edu.stanford.nlp.process WordToSentenceProcessor fields, constructors, methods, implement or subclass

Example usage for Java edu.stanford.nlp.process WordToSentenceProcessor fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for edu.stanford.nlp.process WordToSentenceProcessor.

The text is from its open source code.

Constructor

WordToSentenceProcessor(String boundaryTokenRegex, String boundaryFollowersRegex, Set boundariesToDiscard, Set xmlBreakElementsToDiscard, String regionElementRegex, NewlineIsSentenceBreak newlineIsSentenceBreak, SequencePattern sentenceBoundaryMultiTokenPattern, Set tokenRegexesToDiscard, boolean isOneSentence, boolean allowEmptySentences)
Configure all parameters for converting a list of tokens into sentences.
WordToSentenceProcessor()
Create a WordToSentenceProcessor using a sensible default list of tokens for sentence ending for English/Latin writing systems.
WordToSentenceProcessor(NewlineIsSentenceBreak newlineIsSentenceBreak)
Create a WordToSentenceProcessor using a sensible default list of tokens for sentence ending for English/Latin writing systems.
WordToSentenceProcessor(boolean isOneSentence)
Create a WordToSentenceProcessor which never breaks the input into multiple sentences.
WordToSentenceProcessor(Set boundaryToDiscard)
Set the set of Strings that will mark the end of a sentence, and which will be discarded after doing so.

Method

List>process(List words)
Returns a List of Lists where each element is built from a run of Words in the input Document.