Interface SentenceAttribute

  • All Superinterfaces:
    Attribute
    All Known Implementing Classes:
    SentenceAttributeImpl

    public interface SentenceAttribute
    extends Attribute
    This attribute tracks what sentence a given token belongs to as well as potentially other sentence specific attributes.
    • Method Detail

      • getSentenceIndex

        int getSentenceIndex()
        Get the sentence index for the current token
        Returns:
        The index of the sentence
        See Also:
        getSentenceIndex()