matchzoo.preprocessors.units.digit_removal¶
Module Contents¶
-
class
matchzoo.preprocessors.units.digit_removal.DigitRemoval¶ Bases:
matchzoo.preprocessors.units.unit.UnitProcess unit to remove digits.
-
transform(self, input_: list)¶ Remove digits from list of tokens.
Parameters: input – list of tokens to be filtered. Return tokens: tokens of tokens without digits.
-