Porter2StemmerConstants class abstract

All the constants used by the Porter2Stemmer implementation classes.

Constructors

Porter2StemmerConstants()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

kExceptions → const Map<String, String>
Collection of default exceptions used by Porter2StemmerMixin.
kInvariantExceptions → const Map<String, String>
Collection of terms that have no stem but do not fit the algorithm.
kRegion1Exceptions → const List<String>
Words starting with any of the following have a different Region 1 to the algorithm.
kStep1AExceptions → const Map<String, String>
Collection of terms that have no stem at the end of Step 1(a).
kStep1BSuffixes → const Map<String, String>
Suffix hasmap for Step 1B.
kStep3Suffixes → const Map<String, String>
Suffix hasmap for Step 3.
kStep4Suffixes → const Map<String, String>
Suffix hasmap for Step 4.
rDoubleEnd → const String
Regex string to match String that ends with rDoubles.
rDoubles → const String
Regular expression selector for double consonants.
rEnglishNonWordChars → const String
Selector that matches any character not a letter, a hyphen or apostrophe.
rNotVowels → const String
Regular expression selector for characters that are NOT vowels.
rQuotes → const String
Selector for all single or double quotation marks and apostrophes.
rVowels → const String
Regular expression selector for characters that are vowels.