Porter2Stemmer class abstract

DART implementation of the Porter Stemming Algorithm (see https://snowballstem.org/algorithms/), used for reducing a word to its word stem, base or root form.

Constructors

Porter2Stemmer({Map<String, String>? exceptions})
factory

Properties

exceptions Map<String, String>
A hashmap of terms (keys) with their stem values that will be returned rather than being processed by the stemmer.
no setter
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
stem(String term) String
Reduces the String to its word stem, base or root form using the Porter2StemmerMixin English language stemming algorithm.
toString() String
A string representation of this object.
inherited

Operators

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