gyroing commited on
Commit
730e8f1
1 Parent(s): 0c1a8db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def preprocess_text(text: str) -> typing.List[typing.List[str]]:
25
  def fix_words(words: typing.List[str]) -> typing.List[str]:
26
  fixed_words = []
27
 
28
- for word, pos , typin in tagger.tag(words):
29
  if pos[-1] == "z":
30
  if word[-1] != "ِ":
31
  if (word[-1] == "ه") and (word[-2] != "ا"):
 
25
  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] == "z":
30
  if word[-1] != "ِ":
31
  if (word[-1] == "ه") and (word[-2] != "ا"):