Yoctol / purewords

Create pure sentences
3 stars 2 forks source link

What is token_num_filter ? #39

Closed SoluMilken closed 7 years ago

SoluMilken commented 7 years ago

https://github.com/Yoctol/purewords/blob/master/purewords/filters/__init__.py#L68

plliao commented 7 years ago

Token_num_filter replace digit token into 'num' token. The filter works only if all the characters in a token are digits.

SoluMilken commented 7 years ago

我懂了~~~