gyroing commited on
Commit
1ac8e83
1 Parent(s): 11d2b0b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -26,6 +26,7 @@ def fix_words(words: typing.List[str]) -> typing.List[str]:
26
  fixed_words = []
27
 
28
  for word, pos in tagger.tag(words):
 
29
  if pos[-1] == "e":
30
  if word[-1] != "ِ":
31
  if (word[-1] == "ه") and (word[-2] != "ا"):
 
26
  fixed_words = []
27
 
28
  for word, pos in tagger.tag(words):
29
+ word += pos
30
  if pos[-1] == "e":
31
  if word[-1] != "ِ":
32
  if (word[-1] == "ه") and (word[-2] != "ا"):