🗣️ targer-api
Simple, type-safe access to the TARGER neural argument tagging APIs.
With this package you can analyze the argumentative structures using one of the pre-trained neural models for argument mining found in the TARGER API. The API is hosted by the Webis research group and free to use.
Installation
pip install targer-api
Usage
from targer_api import analyze_text
arguments = analyze_text(
"The alternative vote is advantageous. "
"The President is directly elected by secret ballot "
"under the system of the Alternative Vote."
)
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{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
}
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_api tests examples
pylint -E targer_api tests examples
pytest targer_api tests 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.
Metadata
Release files for targer-api 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| targer-api-1.1.1.tar.gz | 12.4 kB | Without provenance | Details for targer-api-1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| targer_api-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for targer_api-1.1.1-py3-none-any.whl |
Total release size: 18.4 kB
Release files / targer-api-1.1.1.tar.gz
| Download URL | targer-api-1.1.1.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
434d9b273c362bbd0586b8f1c1d7e5ea7096f2b4a7fb67693d6fc21cc1dedfb9
|
|
BLAKE2b-256 checksum How to use checksums |
0b93d006a665c2247f294e4371082978c31e2b02c45f0687d0e401712ce7ce9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / targer_api-1.1.1-py3-none-any.whl
| Download URL | targer_api-1.1.1-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
341b5b0a9e4480d304d8339c2ead6d4fc036d7a207eb6b0c7d5b8d1e2d499361
|
|
BLAKE2b-256 checksum How to use checksums |
3f377a5b91a1cd487b8ba957e9e02d01596b856dca53d382c07754cc09a17f71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for targer-api 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.