Commit
·
2be4187
1
Parent(s):
c226cf4
Update app.py
Browse files
app.py
CHANGED
@@ -84,6 +84,9 @@ def sample_analyze_entities(text_content):
|
|
84 |
mention_count = len(entity.mentions)
|
85 |
plural = "s" if mention_count > 1 else ""
|
86 |
st.write(f"Mentions: {mention_count} mention{plural}")
|
|
|
|
|
|
|
87 |
|
88 |
st.write("---")
|
89 |
|
|
|
84 |
mention_count = len(entity.mentions)
|
85 |
plural = "s" if mention_count > 1 else ""
|
86 |
st.write(f"Mentions: {mention_count} mention{plural}")
|
87 |
+
st.write("Raw Array:")
|
88 |
+
st.write(', '.join([mention.text.content for mention in entity.mentions]))
|
89 |
+
|
90 |
|
91 |
st.write("---")
|
92 |
|