Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -79,11 +79,17 @@ def visualize_parser(
|
|
79 |
st.write(get_svg(html), unsafe_allow_html=True)
|
80 |
|
81 |
|
82 |
-
|
83 |
|
84 |
|
85 |
visualize_parser(doc)
|
86 |
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
|
88 |
#pd.set_option('display.max_colwidth', None)
|
89 |
|
|
|
79 |
st.write(get_svg(html), unsafe_allow_html=True)
|
80 |
|
81 |
|
82 |
+
d#isplacy.render(doc, style="ent")
|
83 |
|
84 |
|
85 |
visualize_parser(doc)
|
86 |
|
87 |
+
spacy_streamlit.visualize_ner(
|
88 |
+
doc,
|
89 |
+
labels=["PERSON", "DATE", "GPE"],
|
90 |
+
show_table=False,
|
91 |
+
title="Persons, dates and locations",
|
92 |
+
)
|
93 |
|
94 |
#pd.set_option('display.max_colwidth', None)
|
95 |
|