Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def postag(tk):
|
|
12 |
tag = ""
|
13 |
plural_tags = ["NNS", "NNPS"]
|
14 |
if tk.tag_ in plural_tags:
|
15 |
-
tag = " (Plural)"
|
16 |
else:
|
17 |
tag = " ({})".format(tk.tag_)
|
18 |
return tag
|
|
|
12 |
tag = ""
|
13 |
plural_tags = ["NNS", "NNPS"]
|
14 |
if tk.tag_ in plural_tags:
|
15 |
+
tag = " ({}) (Plural)".format(tk.tag_)
|
16 |
else:
|
17 |
tag = " ({})".format(tk.tag_)
|
18 |
return tag
|