less-garbage3
This commit is contained in:
parent
f64f07579c
commit
b9ac3ee3c6
|
@ -17,6 +17,9 @@ def normalize(text):
|
||||||
if is_russian_wording(text):
|
if is_russian_wording(text):
|
||||||
# Normalize the text by replacing characters
|
# Normalize the text by replacing characters
|
||||||
text = (text
|
text = (text
|
||||||
|
.replace(' ', ' ')
|
||||||
|
.replace(' ', ' ')
|
||||||
|
.replace(' ', ' ')
|
||||||
.replace('e', 'е')
|
.replace('e', 'е')
|
||||||
.replace('o', 'о')
|
.replace('o', 'о')
|
||||||
.replace('x', 'х')
|
.replace('x', 'х')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user