termExpander property
Expands text to a collection of related Strings, e.g. synonyms, abbreviations or spelling suggestions.
Used during tokenization and keyword extraction.
Implementation
@override
TermExpander? get termExpander => ((source, [zone]) async {
final abbreviation = kAbbreviations[source];
return abbreviation == null ? {} : {abbreviation};
});