This commit is contained in:
Yomguithereal 2021-05-27 17:31:22 +02:00
parent 809176ffb6
commit 94b0435e01
1 changed files with 1 additions and 0 deletions

View File

@ -645,6 +645,7 @@ class WordTokenizer(object):
token_value = token_value[1:]
token_changed = True
# NOTE: not an `elif` here because the token type can change is hashtags are splitted
if token_type == 'word':
if self.lower:
token_value = token_value.lower()