Example usage for Java edu.stanford.nlp.simple Sentence fields, constructors, methods, implement or subclass
The text is from its open source code.
Sentence(String text) Create a new sentence from the given text, assuming the entire text is just one sentence. | |
Sentence(List Create a new sentence from the given tokenized text, assuming the entire text is just one sentence. | |
Sentence(CoreNLPProtos.Sentence proto) Create a sentence from a saved protocol buffer. | |
Sentence(CoreMap sentence) Convert a CoreMap into a simple Sentence object. | |
Sentence(SentenceFragment sentence) Convert a sentence fragment (i.e., entailed sentence) into a simple sentence object. |
String | lemma(int index) |
List | nerTags() |
String | text() The raw text of the sentence, as input by, e.g., Sentence#Sentence(String) . |