mirror of
https://github.com/magnum-opus-tender-hack/backend.git
synced 2024-11-22 09:16:36 +03:00
add eng spell
This commit is contained in:
parent
92a3d71c9b
commit
4c913ba776
|
@ -11,7 +11,7 @@ def spell_check_ru(word: str) -> str:
|
|||
return res
|
||||
|
||||
def spell_check_en(word: str) -> str:
|
||||
res = speller_ru.correction(word)
|
||||
res = speller_eng.correction(word)
|
||||
if not len(res):
|
||||
return word
|
||||
return res
|
||||
|
|
Loading…
Reference in New Issue
Block a user