isStopword method

  1. @override
bool isStopword(
  1. String term
)

Returns true if the term is a stopword excluded from tokenization.

Implementation

@override
bool isStopword(String term) {
  return LatinLanguageAnalyzer.isNumberOrAmount(term) ||
      kStopWords.contains(term.toLowerCase());
}