Java edu.stanford.nlp.simple Sentence fields, constructors, methods, implement or subclass

Example usage for Java edu.stanford.nlp.simple Sentence fields, constructors, methods, implement or subclass

Introduction

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

The text is from its open source code.

Constructor

Sentence(String text)
Create a new sentence from the given text, assuming the entire text is just one sentence.
Sentence(List tokens)
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.

Method

Stringlemma(int index)
ListnerTags()
Stringtext()
The raw text of the sentence, as input by, e.g., Sentence#Sentence(String) .