characterFilter property Null safety
override
The LatinLanguageAnalyzerMixin implementation of the characterFilter function:
- returns the term if it can be parsed as a number; else
- converts the term to lower-case;
- changes all quote marks to single apostrophe +U0027;
- removes enclosing quote marks;
- changes all dashes to single standard hyphen;
- removes all non-word characters from the term;
- replaces all characters except letters and numbers from the end of the term.
Implementation
@override
CharacterFilter get characterFilter => (Term term) => term.toWord();