egumasa commited on
Commit
587a583
·
1 Parent(s): c8149b0
Files changed (1) hide show
  1. demo.py +15 -0
demo.py CHANGED
@@ -201,9 +201,16 @@ with st.sidebar:
201
  | `Entertain` (Expand) | An utterance which indicates author's position but as only one possibility amongst others, thereby opening up dialogic space. |
202
  | `Attribute` (Expand) | An utterance which signifies dialogic space as the writer attributes the proposition to an external source. |
203
  | `Monogloss` | An utterance which does not employ any value of engagement. Such an utterance ignores the dialogic potential in an utterance. |
 
204
  For a more complete description of the category, visit [the annotation guideline](https://egumasa.github.io/engagement-annotation-project/3_Categories/)!!
205
  """)
206
 
 
 
 
 
 
 
207
  st.title("Engagement Analyzer (beta ver 0.1)")
208
  st.write(
209
  "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"
@@ -284,3 +291,11 @@ visualize_spans(doc,
284
  "ATTRIBUTE": "#f7786b"
285
  },
286
  })
 
 
 
 
 
 
 
 
 
201
  | `Entertain` (Expand) | An utterance which indicates author's position but as only one possibility amongst others, thereby opening up dialogic space. |
202
  | `Attribute` (Expand) | An utterance which signifies dialogic space as the writer attributes the proposition to an external source. |
203
  | `Monogloss` | An utterance which does not employ any value of engagement. Such an utterance ignores the dialogic potential in an utterance. |
204
+
205
  For a more complete description of the category, visit [the annotation guideline](https://egumasa.github.io/engagement-annotation-project/3_Categories/)!!
206
  """)
207
 
208
+ st.sidebar.markdown(
209
+ "Theme Analyzer is developed by [Masaki Eguchi](https://masakieguchi.weebly.com)."
210
+ )
211
+ 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>.'
212
+ st.sidebar.markdown(cc, unsafe_allow_html=True)
213
+
214
  st.title("Engagement Analyzer (beta ver 0.1)")
215
  st.write(
216
  "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"
 
291
  "ATTRIBUTE": "#f7786b"
292
  },
293
  })
294
+
295
+ st.subheader("Bibliography")
296
+ st.markdown("""
297
+ * Chang, P., & Schleppegrell, M. (2011). Taking an effective authorial stance in academic writing: Making the linguistic resources explicit for L2 writers in the social sciences. _Journal of English for Academic Purposes, 10_ (3), 140–151. https://doi.org/10.1016/j.jeap.2011.05.005
298
+ * Martin, J. R., & White, P. R. R. (2005). _The language of evaluation: Appraisal in English._ Palgrave Macmillan.
299
+ * Wu, S. M. (2007). The use of engagement resources in high- and low-rated undergraduate geography essays. _Journal of English for Academic Purposes, 6_ (3), 254–271. https://doi.org/10.1016/j.jeap.2007.09.006
300
+
301
+ """)