Make sure text is lowercase

This commit is contained in:
Samuel Sloniker 2022-11-22 11:44:13 -08:00
parent c2cd6f62fb
commit 7d1cbcaee0
Signed by: kj7rrv
GPG Key ID: 1BB4029E66285A62

View File

@ -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):