This repo contains the results of the work "Structure or Content? Towards assessing Argument Relevance".
The data from /Webis-ArgRank-17-Dataset is here available.
Python >= 3.6 is expected.
First, all packages must be installed using:
$ pip install -r requirements.txt
Afterwards the spacy language pack en must be installed. For this purpose it should be used:
$ python -m spacy download en
Make sure this will install en_core_web_sm==2.1.0.
It is very important to follow the steps in the given order, since otherwise the results may differ due to different hardware setups.
- Run
Groundtruth-Graph.ipynbto create the argumentation-graph - Run
Remapping-Graph.ipynbto give each node a unique ID in [0, N-1] - Run
OriginalPageRank.pyto create all PageRank values for the graph given the alpha-values in [0, 1] - Run
Embeddings.pyto generate the BERT and EMLo embeddings - Run
NeuronalNetworkSentimentClassification.pyto train the neuronal network for predicting sentiment - Run
PageRankAnalysis.ipynbto generate figure 1 of our paper - Run
VisualizationOfResults.ipynbto generate figure 2 of our paper - Run
RankingOfArguments.ipynbto generate table 1 of our paper