This page contains code of the web application and web service based on the neural argument tagger. You can enter some text in the input box and detect arguments in it with one of the pre-trained neural models for argument mining.
More specifically, this repository shares code and data related to the following demo paper:
Artem Chernodub, Oleksiy Oliynyk, Philipp Heidenreich, Alexander Bondarenko, Matthias Hagen,
Chris Biemann, and Alexander Panchenko (2019):
TARGER: Neural Argument Mining at Your Fingertips.
In Proceedings of the 57th Annual Meeting of the Association of Computational Linguistics (ACL 2019). Florence, Italy.
If you use the demo or would like to refer to it, please cite the paper mentioned above. You can use the following BibTeX information for citation:
@InProceedings{chernodub:2019,
author = {Artem Chernodub and Oleksiy Oliynyk and Philipp Heidenreich and Alexander Bondarenko and Matthias Hagen and Chris Biemann and Alexander Panchenko},
booktitle = {57th Annual Meeting of the Association for Computational Linguistics (ACL 2019)},
editor = {{Martha R.} {Costa-juss{\`a}} and Enrique Alfonseca},
ids = {bondarenko:2019b},
month = jul,
pages = {195-200},
publisher = {Association for Computational Linguistics},
site = {Florence, Italy},
title = {{TARGER: Neural Argument Mining at Your Fingertips}},
url = {https://www.aclweb.org/anthology/P19-3031},
year = 2019
}
Below you will find instructions on how to run the TARGER web application and its API locally (using Docker). Alternatively you can just access the online demo though web interface or using API.
The web application relies on a neural tagging library based on the PyTorch framework. You may also find this library useful on its own, e.g., for training sequence taggers for argument mining, part of speech tagging, or named entity recognition. The library is taking CoNLL files as input, is easy to use, and has a minimal number of dependencies. Though the library lives in a separate repository, it is also part of the TARGER project. So if you are using the library, please also cite the paper mentioned above. For detailed documentation about the tagging library refer to its repository.
-
Clone this repository:
git clone https://github.com/webis-de/targer && cd targer
-
Download pre-trained model files to the
models
directory:wget https://files.webis.de/data-in-production/data-research/acqua/targer/models/ \ --recursive --level=1 \ --no-directories --no-host-directories \ --accept=h5,hdf5 --directory-prefix=models
-
Run the demo using Docker:
docker-compose up
-
To enable the search tab, change
es_host
,es_port
, andes_index
inconfig.ini
to your cluster and index. -
Access the frontend at localhost:6001 and the backend REST-like API at localhost:6000.
Here you can find more detailed documentation of the system architecture, installation, and usage:
This repository is released under the the MIT license.
Code in this repository is based on uhh-lt/targer and parts of the frontend are based on displacy-ent, both are licensed under the MIT license.