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
defdouble_typos(self):
"""letter combinations two typos away from word"""returnchain.from_iterable(
Word(e1, only_replacements=self.only_replacements).typos()
fore1inself.typos()
)
when fixing the second typo, a Word object is created, but without specifying a language. thus, the second typo correction always uses the english alphabet. so, double_typoing a word like здрйхствуйте returns corrections like здраmствуйте instead of здравствуйте, replacing one of the letters properly, and another with an english letter.
The text was updated successfully, but these errors were encountered:
when fixing the second typo, a Word object is created, but without specifying a language. thus, the second typo correction always uses the english alphabet. so, double_typoing a word like
здрйхствуйте
returns corrections likeздраmствуйте
instead ofздравствуйте
, replacing one of the letters properly, and another with an english letter.The text was updated successfully, but these errors were encountered: