Simple, type-safe access to the TARGER neural argument tagging APIs.
Project description
🗣️ 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)
Built Distribution
Close
Hashes for targer_api-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1921d9406203761656422ceb7e55cc661f1a1a1342f88b7c2ca96607fc71a819 |
|
MD5 | 13e2cbb6167686f128290e267b816ceb |
|
BLAKE2b-256 | aeb1b025fc39cb0cf2222638d39a60261d6f66a8a93a43588e895ac425bdb624 |