DD0101 commited on
Commit
ddfda7d
1 Parent(s): 31aac55

modified ( text = text.replace("đà ", " đà ") )

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ def ner(text):
57
  text = " ".join(rdrsegmenter.word_segment(text))
58
 
59
  # Some words in lowercase like "đà nẵng" will get error (due to vncorenlp)
60
- text = text.replace("đà ", " đà")
61
 
62
  output = my_classifier(text)
63
  for entity in output:
 
57
  text = " ".join(rdrsegmenter.word_segment(text))
58
 
59
  # Some words in lowercase like "đà nẵng" will get error (due to vncorenlp)
60
+ text = text.replace("đà ", " đà ")
61
 
62
  output = my_classifier(text)
63
  for entity in output: