Make sure text is lowercase
This commit is contained in:
parent
c2cd6f62fb
commit
7d1cbcaee0
|
@ -17,6 +17,7 @@ def tokenize(
|
|||
converted_text: Union[str, List[str]] = text.lower()
|
||||
|
||||
if has_emoji and use_emoji:
|
||||
text = text.lower()
|
||||
parts = []
|
||||
highest_end = 0
|
||||
for emoji_part in emoji.emoji_list(text):
|
||||
|
|
Loading…
Reference in New Issue
Block a user