Java edu.stanford.nlp.ling IndexedWord fields, constructors, methods, implement or subclass

Example usage for Java edu.stanford.nlp.ling IndexedWord fields, constructors, methods, implement or subclass

Introduction

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

The text is from its open source code.

Constructor

IndexedWord(Label w)
Copy Constructor - relies on CoreLabel copy constructor It will set the value, and if the word is not set otherwise, set the word to the value.
IndexedWord(CoreLabel w)
Construct an IndexedWord from a CoreLabel just as for a CoreMap.
IndexedWord()
Default constructor; uses CoreLabel default constructor

Method

intbeginPosition()
intendPosition()
booleanequals(Object o)
This .equals is dependent only on docID, sentenceIndex, and index.
VALUEget(Class> key)
intindex()
Stringlemma()
Stringner()
StringoriginalText()
voidsetIndex(int index)
voidsetTag(String tag)
voidsetWord(String word)
Stringtag()
StringtoString()
Returns the value-tag of this label.
Stringvalue()
Stringword()