matchzoo.preprocessors.units.stemming¶
Module Contents¶
-
class
matchzoo.preprocessors.units.stemming.Stemming(stemmer='porter')¶ Bases:
matchzoo.preprocessors.units.unit.UnitProcess unit for token stemming.
Parameters: stemmer – stemmer to use, porter or lancaster. -
transform(self, input_: list)¶ Reducing inflected words to their word stem, base or root form.
Parameters: input – list of string to be stemmed.
-