termFilter property Null safety
override
A filter function that returns a collection of terms from term:
- return an empty collection if the term is to be excluded from analysis;
- return multiple terms if the term is split; and/or
- return modified term(s), such as applying a stemmer algorithm.
Implementation
@override
TermFilter get termFilter => (Term term) => term.versions(
abbreviations, stopWords, termExceptions, characterFilter, stemmer);