add eng spell

This commit is contained in:
ilia 2022-10-22 18:00:28 +03:00
parent 92a3d71c9b
commit 4c913ba776

View File

@ -11,7 +11,7 @@ def spell_check_ru(word: str) -> str:
return res return res
def spell_check_en(word: str) -> str: def spell_check_en(word: str) -> str:
res = speller_ru.correction(word) res = speller_eng.correction(word)
if not len(res): if not len(res):
return word return word
return res return res