Skip to content

Commit

Permalink
maybe this will work?
Browse files Browse the repository at this point in the history
  • Loading branch information
alekssamos committed Sep 9, 2023
1 parent 78c6560 commit 6aa5775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/globalPlugins/textnormalizer/textnormalizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def CheckWord(self, word, change_case = True):
for k, v in lettersstrng.items():
newword = self.replace(k, v, newword, True)
# убираем символ "мягкий перенос"
newword = newword.replace(chr(173), "").replace(chr(8205), "")
newword = newword.replace("\u200d", "").replace(chr(173), "").replace(chr(8205), "")
# один символ не имеет смысла
if len(newword.strip()) == 1:
return newword
Expand Down

0 comments on commit 6aa5775

Please sign in to comment.