Class TokenizedSentence

  • All Implemented Interfaces:
    TextNode

    public final class TokenizedSentence
    extends TextContainer
    A TextContainer that can store a tokenized sentence.
    • Constructor Detail

      • TokenizedSentence

        public TokenizedSentence​(List<? extends TextContainer> tokens)
        Create a tokenized sentence container.
        Parameters:
        tokens - the text elements that make up this sentence.