TextAnalyzerConfiguration class Null safety

An interface exposing language properties used in text analysis:

  • characterFilter is a function that manipulates text prior to stemming and tokenization;
  • termFilter is a filter function that returns a collection of terms from a term. It returns an empty collection if the term is to be excluded from analysis or, returns multiple terms if the term is split (e.g. at hyphens) and / or, returns modified term(s), such as applying a stemmer algorithm; and
  • termSplitter returns a list of terms from text.
Implementers

Constructors

TextAnalyzerConfiguration()

Properties

characterFilter CharacterFilter
A function that manipulates text prior to stemming and tokenization.
read-only
hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
termFilter TermFilter
A filter function that returns a collection of terms from term:
read-only
termSplitter TermSplitter
Returns a list of terms from text.
read-only

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
The equality operator.
inherited