Skip to content

alsliw/ArgMiningTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArgMiningTools

This project contains up to 8 different Argument Mining Tools capable in predicting a sentence in English language as either argumentative or non-argumentative.

Installation of package dependencies

  • pip install -r requirements.txt

Software dependencies

  • Python 2.7

Data Insertion

The input requires text files located in src/data/original.
The application automatically generates a corresponding .csv file with output results for each input text file stored in src/data/updated.
Note that for input documents each line is assumed as one sentence.

Run Application

Navigate to the directory src and run python Processor.py

Models Selection

There is a possibility to select N out of 8 models in property.txt.
Each sentence of an input document is predicted as majority vote of the N selected models.
Models with a "1" in usage field indicate as being selected and a "0" as non-selected.
The property file contains following models:

  • Linear Discriminant Analysis (LDA)
  • C-Support Vector Classification (SVM)
  • Logistic Regression (LR)
  • Random Forest (RF)
  • AdaBoost classifier (ADA)
  • K Nearest Neighbor (KNN)
  • Gaussian Naive Bayes (GNB)
  • Long short-term memory (LSTM)

We use the scikit-learn library for implementation of traditional Machine Learning classifiers.
In terms of LSTM we adapted the Neural Architectures for Named Entity Recognition described in Lample et al, 2016.

Word Embeddings

We use pre-trained word embeddings from Google News corpus in order to use this for LSTM application.

Insert the binary file in src package

Authors

License

This project is licensed under the GNU LGPL - see the LICENSE.md file for details

Citation

If you use ArgMiningTools in your research, please cite the paper:

@inproceedings{aker2017works,
	title={What works and what does not: Classifier and feature analysis for argument mining},
	author={Aker, Ahmet and Sliwa, Alfred and Ma, Yuan and Lui, Ruishen and Borad, Niravkumar and Ziyaei, Seyedeh
	and Ghobadi, Mina},
	booktitle={Proceedings of the 4th Workshop on Argument Mining},
	pages={91--96},
	year={2017}
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages