Spaces:
Running
Running
Update app.py
Browse filesadd named entities.
app.py
CHANGED
@@ -86,3 +86,5 @@ visualize_parser(doc)
|
|
86 |
|
87 |
|
88 |
visualize_tokens(doc, attrs=["text", "lemma_", "pos_", "dep_"], title="Table view:", key="tokens")
|
|
|
|
|
|
86 |
|
87 |
|
88 |
visualize_tokens(doc, attrs=["text", "lemma_", "pos_", "dep_"], title="Table view:", key="tokens")
|
89 |
+
|
90 |
+
displacy.render(doc, style="ent")
|