Spaces:
Sleeping
Sleeping
hsuvaskakoty
commited on
Commit
•
5e13818
1
Parent(s):
481f13d
Upload app.py
Browse files
app.py
CHANGED
@@ -32,22 +32,16 @@ def process_url(url, model_name):
|
|
32 |
else:
|
33 |
return processed_text, "", "", final_scores
|
34 |
|
35 |
-
title = 'Wikipedia Deletion Discussion Analysis Suite'
|
36 |
-
desc = """
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
- **
|
41 |
-
- **
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
- **no consensus**: When there is no clear agreement on the deletion discussion.
|
46 |
-
- **speedy keep**: The article should be kept and there are reasons to bypass deletion discussions to keep the article immediately.
|
47 |
-
- **speedy delete**: The article should be deleted and there are reasons to bypass deletion discussions to delete the article immediately.
|
48 |
-
|
49 |
-
The input to the classifier is a URL of a Wikipedia deletion discussion page, and the output is the predicted label of the discussion, along with the probability of the predicted label, and the probabilities of all the labels.
|
50 |
-
The input to the classifier is a URL of a Wikipedia deletion discussion page, and the output is the predicted label of the discussion, along with the probability of the predicted label, and the probabilities of all the labels.
|
51 |
"""
|
52 |
|
53 |
url_input = gr.Textbox(label="URL")
|
|
|
32 |
else:
|
33 |
return processed_text, "", "", final_scores
|
34 |
|
35 |
+
title = 'Wide-Analysis: A Wikipedia Deletion Discussion Analysis Suite'
|
36 |
+
desc = """ Wide-Analysis is a suite of tools for analyzing Wikipedia deletion discussions. It is designed to help researchers and practitioners to understand the dynamics of deletion discussions, and to develop tools for supporting the decision-making process in Wikipedia. The suite includes a set of tools for collecting, processing, and analyzing deletion discussions. The package contains the following functionalities
|
37 |
+
- **Outcome Prediction**: Predicting the outcome of a deletion discussion, the outcome can be the decision made with the discussion (e.g., keep, delete, merge, etc.) (determined from the complete discussion)
|
38 |
+
- **Stance Detection**: Identifying the stance of the participants in the discussion, in relation to the deletion decision.(determined from each individual comment in discussion)
|
39 |
+
- **Policy Prediction**: Predicting the policy that is most relevant to the comments of the participants in the discussion.(determined from each individual comment in discussion)
|
40 |
+
- **Sentiment Prediction**: Predicting the sentiment of the participants in the discussion, in relation to the deletion decision.(determined from each individual comment in discussion)
|
41 |
+
- **Offensive Language Detection**: Detecting offensive language in the comments of the participants in the discussion.(determined from each individual comment in discussion)
|
42 |
+
|
43 |
+
The input to the classifier is a URL of a Wikipedia deletion discussion page with the task listed in the drop-down box, and the output is the predicted label of the discussion, along with the probability of the predicted label, and the probabilities of all the labels.
|
44 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
"""
|
46 |
|
47 |
url_input = gr.Textbox(label="URL")
|