hsuvaskakoty commited on
Commit
5e13818
1 Parent(s): 481f13d

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -16
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 = """ This demo is about classifying deletion discussions from Wikipedia about Wikipedia articles. Wikipedia community engages in discussions related to an article’s quality, and map potential issues to existing templates, or Wikipedia policies, which cover diverse areas, from low notability of sources to content implausibility or vandalism.
37
-
38
- To this end, we design a multiclass classifier to predict the outcome of a deletion discussion, without the need for human intervention. The classifier is trained on a dataset of deletion discussions from Wikipedia, and it predicts one of the following labels: delete, keep, merge, no consensus, speedy keep, speedy delete, redirect, or withdrawn. Each of these labels corresponds to a specific outcome of the deletion discussion as described below.
39
-
40
- - **keep**: The article should be kept as it is.
41
- - **delete**: The article should be deleted.
42
- - **merge**: The article should be merged with another article. Articles that are short and unlikely to be expanded could be merged into larger articles or lists.
43
- - **redirect**: The article should be redirected to another existing article that is a better target for the content.
44
- - **withdraw**: The nominator withdraws their nomination for deletion, often due to improvements made to the article during the discussion.
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")