matchzoo.preprocessors.units.lemmatization¶
Module Contents¶
Classes¶
Process unit for token lemmatization. |
-
class
matchzoo.preprocessors.units.lemmatization.Lemmatization¶ Bases:
matchzoo.preprocessors.units.unit.UnitProcess unit for token lemmatization.
-
transform(self, input_: list) → list¶ Lemmatization a sequence of tokens.
- Parameters
input – list of tokens to be lemmatized.
- Return tokens
list of lemmatizd tokens.
-