Sentence class Null safety
A Sentence represents a text source not containing sentence ending punctuation such as periods, question-marks and exclamations, except where used in tokens, identifiers or other terms.
In addition to the source text, the Sentence object also enumerates its tokens.
Constructors
- Sentence()
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
Compares only whether:
override
Static Methods
-
fromString(
String sentence, TextAnalyzerConfiguration configuration, TokenFilter? tokenFilter, [Zone? zone]) → Future< Sentence> -
Factory function that returns a Future of
Sentencefrom thesentenceusing theconfiguration.