You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(file:///C:/Users/PAVILION/AppData/Local/Programs/Python/Python310/lib/site-packages/malaya/normalizer/rules.py:165), in check_repeat(word)
162 return word, 1
164 if word[-1].isdigit() and not word[-2].isdigit():
--> 165 repeat = int(word[-1])
166 word = word[:-1]
167 else:
ValueError: invalid literal for int() with base 10: '²'
², ³, and some other Unicode characters like U+2776 (❶) - U+2792 (➒) returns true for isdigit(), but cannot be converted into int, so it returns a value error.
The text was updated successfully, but these errors were encountered:
(file:///C:/Users/PAVILION/AppData/Local/Programs/Python/Python310/lib/site-packages/malaya/normalizer/rules.py:165), in check_repeat(word)
162 return word, 1
164 if word[-1].isdigit() and not word[-2].isdigit():
--> 165 repeat = int(word[-1])
166 word = word[:-1]
167 else:
ValueError: invalid literal for int() with base 10: '²'
², ³, and some other Unicode characters like U+2776 (❶) - U+2792 (➒) returns true for isdigit(), but cannot be converted into int, so it returns a value error.
The text was updated successfully, but these errors were encountered: