matchzoo.preprocessors.units.punc_removal
¶
Module Contents¶
Classes¶
Process unit for remove punctuations. |
-
class
matchzoo.preprocessors.units.punc_removal.
PuncRemoval
¶ Bases:
matchzoo.preprocessors.units.unit.Unit
Process unit for remove punctuations.
-
_MATCH_PUNC
¶
-
transform
(self, input_: list) → list¶ Remove punctuations from list of tokens.
- Parameters
input – list of toekns.
- Return rv
tokens without punctuation.
-