Spaces:
Sleeping
Sleeping
modified ( text = text.replace("đà ", " đà ") )
Browse files
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:
|