welcome message
Browse files
demo.py
CHANGED
@@ -22,7 +22,9 @@ import streamlit as st
|
|
22 |
# sm = spacy.load('en_core_web_sm', disable=['ner'])
|
23 |
nlp = spacy.load("en_engagement_RoBERTa_combined")
|
24 |
|
25 |
-
doc = nlp(
|
|
|
|
|
26 |
|
27 |
TPL_ENT = """
|
28 |
<mark class="entity" style="background: {bg}; padding: 0.45em 0.6em; margin: 0 0.25em; line-height: 1; border-radius: 0.35em;">
|
|
|
22 |
# sm = spacy.load('en_core_web_sm', disable=['ner'])
|
23 |
nlp = spacy.load("en_engagement_RoBERTa_combined")
|
24 |
|
25 |
+
doc = nlp(
|
26 |
+
'Welcome! Probably this is one of the few attempts to teach a machine how to read the discourse...! Although it is not perfect, you should be able to get a good place to start for your stance-taking analyses. The result will be presented here.'
|
27 |
+
)
|
28 |
|
29 |
TPL_ENT = """
|
30 |
<mark class="entity" style="background: {bg}; padding: 0.45em 0.6em; margin: 0 0.25em; line-height: 1; border-radius: 0.35em;">
|