Skip to main content

Simple, type-safe access to the TARGER neural argument tagging APIs.

Project description

PyPi CI Code coverage Python Issues Commit activity Downloads License

🗣️ targer-api

Simple, type-safe access to the TARGER neural argument tagging APIs.

Installation

pip install git+https://github.com/heinrichreimer/targer-api.git#egg=targer-api

Usage

from targer.api import fetch_arguments

arguments = fetch_arguments("""
Suicide should be a criminal offence. 
It is suspected that Francis committed suicide having been 
faced with being murdered over his large debt to Johnny Boy.
""")
print(arguments)

Citation

If you use this package, please cite the paper from the TARGER authors. You can use the following BibTeX information for citation:

@inproceedings{chernodub2019targer,
    title = {TARGER: Neural Argument Mining at Your Fingertips},
    author = {Chernodub, Artem and Oliynyk, Oleksiy and Heidenreich, Philipp and Bondarenko, Alexander and
 Hagen, Matthias and Biemann, Chris and Panchenko, Alexander},
    booktitle = {Proceedings of the 57th Annual Meeting of the Association of Computational Linguistics (ACL'2019)},
    year = {2019},
    address = {Florence, Italy}
}

Development

To build and develop this package you need to install the build package:

pip install build

Installation

Install package dependencies:

pip install -e .

Testing

Install test dependencies:

pip install -e .[test]

Verify your changes against the test suite to verify.

flake8 targer examples
pylint -E targer examples
pytest targer examples

Please also add tests for the axioms or integrations you've added.

Build wheel

A wheel for this package can be built by:

python -m build

License

This repository is released under the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

targer-api-0.1.1.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

targer_api-0.1.1-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page