Interface SentenceAttribute
- All Superinterfaces:
Attribute
- All Known Implementing Classes:
SentenceAttributeImpl
This attribute tracks what sentence a given token belongs to as well as potentially other
sentence specific attributes.
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the sentence index for the current tokenvoid
setSentenceIndex
(int sentenceIndex) Set the sentence of the current token
-
Method Details
-
getSentenceIndex
int getSentenceIndex()Get the sentence index for the current token- Returns:
- The index of the sentence
- See Also:
-
setSentenceIndex
void setSentenceIndex(int sentenceIndex) Set the sentence of the current token- See Also:
-