Skip to content

Sentence Class

Sentence inherits from TextChunk.

Sentence stores data for a sentence. Sentences are delimited automatically from the input raw text. For longer and more complicated sentences it can be advantageous to further cut the sentences into subsentences.

Sentence is iterable and will yield instances of Token class

Attributes / Properties

NameTypeDescription
subsentenceslist of Subsentence instancesList of Subsentence in the sentence
tokenslist of Token instancesList of Token in the sentence
common propertiesdepends on propertyProperties allowing access to specific data (pos, token etc.)