English constructor Null safety

const English(
  1. {Map<String, String> termExceptions = const <String, String>{}}
)

A const constructor to allow an instance to be used as default.

termExceptions is a hashmap of words to token terms for special words that should not be re-capitalized, stemmed or lemmatized. The default termExceptions is an empty dart const <String, String>{}.

Implementation

const English({this.termExceptions = const <String, String>{}});