Commit
·
f63dcc6
1
Parent(s):
c9afb34
Update app.py
Browse files
app.py
CHANGED
@@ -19,8 +19,8 @@ https://www.linkedin.com/pulse/seo-content-writing-how-optimize-entity-salience-
|
|
19 |
|
20 |
# Header and intro
|
21 |
st.title("Google Cloud NLP Entity Analyzer")
|
22 |
-
st.write("This tool analyzes text to identify entities such as people, locations, organizations, and events
|
23 |
-
|
24 |
def sample_analyze_entities(text_content):
|
25 |
# Assuming service_account_info is set in your Streamlit secrets
|
26 |
service_account_info = json.loads(st.secrets["google_nlp"])
|
|
|
19 |
|
20 |
# Header and intro
|
21 |
st.title("Google Cloud NLP Entity Analyzer")
|
22 |
+
st.write("This tool analyzes text to identify entities such as people, locations, organizations, and events")
|
23 |
+
st.write("Entity salience scores are always relative to the analysed text. In natural language processing, a salience score is always a prediction of what a human would consider to be the most important entities in the same text. A number of textual features contribute to the salience score.")
|
24 |
def sample_analyze_entities(text_content):
|
25 |
# Assuming service_account_info is set in your Streamlit secrets
|
26 |
service_account_info = json.loads(st.secrets["google_nlp"])
|