Iseratho commited on
Commit
a2d34d2
1 Parent(s): 84c5a56

Add definitions

Browse files
Files changed (1) hide show
  1. app.py +41 -1
app.py CHANGED
@@ -266,7 +266,47 @@ example_list = [["In 2010, CFCs were banned internationally due to their harmful
266
  description = """A simple tool that helps you find (discover and detect) frames in text.
267
 
268
  Note that due to the computation time required for underlying Transformer models, only short texts are recommended."""
269
- article=""""Check out the preliminary article in the [Web Conference Symposium](https://dl.acm.org/doi/pdf/10.1145/3543873.3587534), will be updated to currently in review article after publication."""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
270
 
271
  textbox_inferface = gr.Interface(fn=framing_textbox,
272
  inputs=[
 
266
  description = """A simple tool that helps you find (discover and detect) frames in text.
267
 
268
  Note that due to the computation time required for underlying Transformer models, only short texts are recommended."""
269
+ article=""""Check out the preliminary article in the [Web Conference Symposium](https://dl.acm.org/doi/pdf/10.1145/3543873.3587534), will be updated to currently in review article after publication.
270
+
271
+ <details>
272
+ <summary>Explanation of labels:</summary>
273
+ <ul>
274
+ <li>Economic: costs, benefits, or other financial implications</li>
275
+ <li>Capacity and resources: availability of physical, human or financial resources, and capacity of current systems</li>
276
+ <li>Morality: religious or ethical implications</li>
277
+ <li>Fairness and equality: balance or distribution of rights, responsibilities, and resources</li>
278
+ <li>Legality, constitutionality and jurisprudence: rights, freedoms, and authority of individuals, corporations, and government</li>
279
+ <li>Policy prescription and evaluation: discussion of specific policies aimed at addressing problems</li>
280
+ <li>Crime and punishment: effectiveness and implications of laws and their enforcement</li>
281
+ <li>Security and defense: threats to welfare of the individual, community, or nation</li>
282
+ <li>Health and safety: health care, sanitation, public safety</li>
283
+ <li>Quality of life: threats and opportunities for the individual’s wealth, happiness, and well-being</li>
284
+ <li>Cultural identity: traditions, customs, or values of a social group in relation to a policy issue</li>
285
+ <li>Public opinion: attitudes and opinions of the general public, including polling and demographics</li>
286
+ <li>Political: considerations related to politics and politicians, including lobbying, elections, and attempts to sway voters</li>
287
+ <li>External regulation and reputation: international reputation or foreign policy of the U.S.</li>
288
+ <li>Other: any coherent group of frames not covered by the above categories</li>
289
+ </ul>
290
+ </details>
291
+
292
+ <details>
293
+ <summary>Explanation of dimensions: </summary>
294
+ <ul>
295
+ <li>Care: ...acted with kindness, compassion, or empathy, or nurtured another person.</li>
296
+ <li>Harm: ...acted with cruelty, or hurt or harmed another person/animal and caused suffering.</li>
297
+ <li>Fairness: ...acted in a fair manner, promoting equality, justice, or rights.</li>
298
+ <li>Cheating: ...was unfair or cheated, or caused an injustice or engaged in fraud.</li>
299
+ <li>Loyalty: ...acted with fidelity, or as a team player, or was loyal or patriotic.</li>
300
+ <li>Betrayal: ...acted disloyal, betrayed someone, was disloyal, or was a traitor.</li>
301
+ <li>Authority: ...obeyed, or acted with respect for authority or tradition.</li>
302
+ <li>Subversion: ...disobeyed or showed disrespect, or engaged in subversion or caused chaos.</li>
303
+ <li>Sanctity: ...acted in a way that was wholesome or sacred, or displayed purity or sanctity.</li>
304
+ <li>Degradation: ...was depraved, degrading, impure, or unnatural.</li>
305
+ </ul>
306
+ </details>
307
+
308
+ Document of structure (AMR) explanation: [AMR Specification](https://github.com/amrisi/amr-guidelines/blob/master/amr.md)
309
+ """
310
 
311
  textbox_inferface = gr.Interface(fn=framing_textbox,
312
  inputs=[