egumasa commited on
Commit
8f402dc
1 Parent(s): 5ab7929

added comments

Browse files
Files changed (1) hide show
  1. demo.py +5 -2
demo.py CHANGED
@@ -21,7 +21,7 @@ import streamlit as st
21
  # Load from huggingface
22
  # sm = spacy.load('en_core_web_sm', disable=['ner'])
23
 
24
- st.set_page_config(page_title="ENGAGEMENT analyzer (beta ver 0.1)",
25
  layout="wide",
26
  initial_sidebar_state="expanded")
27
 
@@ -222,6 +222,7 @@ st.sidebar.markdown("""
222
 
223
  - The TIRF Doctoral Dissertation Grant 2022 sponsored by the International Research Foundation for English Language Education (TIRF)
224
  - The NFMLTA-MLJ Doctoral Dissertation Writing Support Grant 2022 sponsored by the National Federation of Modern Language Teachers Associations (NFMLTA)
 
225
  - The Graduate Student Research Award sponsored by the Department of Linguistics, University of Oregon
226
 
227
  I would also like to thank:
@@ -232,7 +233,9 @@ st.sidebar.markdown("""
232
  cc = '<a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/">Creative Commons Attribution-NonCommercial 4.0 International License</a>.'
233
  st.sidebar.markdown(cc, unsafe_allow_html=True)
234
 
235
- # st.title("Engagement Analyzer (beta ver 0.1)")
 
 
236
  st.write(
237
  "Engagement Analyzer is a free tool that analyzes English texts for rhetorical strategies under the Engagement system framework (Martin & White, 2005). Martin and White (2005) propose two basic stance-taking strategies: expansion and contraction, which are in turn divided into finer-grained rhetorical strategies. The current tool allows you to analyze texts for a total of nine rhetorical strategies. The definitions of each category label can be found from the side bar"
238
  )
 
21
  # Load from huggingface
22
  # sm = spacy.load('en_core_web_sm', disable=['ner'])
23
 
24
+ st.set_page_config(page_title="ENGAGEMENT analyzer (beta ver 0.2)",
25
  layout="wide",
26
  initial_sidebar_state="expanded")
27
 
 
222
 
223
  - The TIRF Doctoral Dissertation Grant 2022 sponsored by the International Research Foundation for English Language Education (TIRF)
224
  - The NFMLTA-MLJ Doctoral Dissertation Writing Support Grant 2022 sponsored by the National Federation of Modern Language Teachers Associations (NFMLTA)
225
+ - Duolingo English Test Doctoral Dissertation Award, 2022
226
  - The Graduate Student Research Award sponsored by the Department of Linguistics, University of Oregon
227
 
228
  I would also like to thank:
 
233
  cc = '<a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/">Creative Commons Attribution-NonCommercial 4.0 International License</a>.'
234
  st.sidebar.markdown(cc, unsafe_allow_html=True)
235
 
236
+ st.title("Engagement Analyzer (beta ver 0.2)")
237
+ st.info('Updated on Nov. 18th, 2022')
238
+
239
  st.write(
240
  "Engagement Analyzer is a free tool that analyzes English texts for rhetorical strategies under the Engagement system framework (Martin & White, 2005). Martin and White (2005) propose two basic stance-taking strategies: expansion and contraction, which are in turn divided into finer-grained rhetorical strategies. The current tool allows you to analyze texts for a total of nine rhetorical strategies. The definitions of each category label can be found from the side bar"
241
  )