xmi2conll CLI
Simple CLI to convert any annotated document in UIMA CAS XMI to CONLL format (IOB schema support).
Installation:
Start by create and activate a new environnement with virtualenv :
virtualenv --python=/usr/bin/python3.8 venv
source venv/bin/activate
then choose:
- Easy way (use pip):
pip install xmi2conll
- Dev install:
git clone https://github.com/Lucaterre/xmi2conll
pip install -r requirements.txt
Usage:
with pip install run:
x2c --help
or with dev install run:
python x2c.py --help
Usage: x2c.py [OPTIONS] INPUT_XMI TYPESYSTEM
XMI to CONLL Converter CLI © 2022 - @Lucaterre
INPUT_XMI (str): XMI file path or directory path that contains XMI for batch
processing.
TYPESYSTEM (str): Typesystem.xml path.
Options:
-o, --output TEXT output path that contains new conll,
if it not specify ./output/ is auto created.
[default: ./output/]
-tn, --type_name_annotations TEXT
type name of the annotations [default: de.t
udarmstadt.ukp.dkpro.core.api.ner.type.Named
Entity]
-s, --conll_separator TEXT Defines a separator in CONLL between mention
and label; only 'space' or 'tab' are accepted [default:
space]
-h, --header BOOLEAN show or hide title of CLI [default: True]
--help Show this message and exit.
Citation:
@misc{xmi2conll-cli,
author = "Lucas Terriel",
title = {xmi2conll, a cli to convert any annotated document in UIMA CAS XMI to CONLL format (IOB schema support)},
howpublished = {\url{https://github.com/Lucaterre/xmi2conll}},
year = {2022}
}
License:
This tool is distributed under MIT license.
Metadata
Release files for xmi2conll 0.1.6
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 |
|---|---|---|---|---|
| xmi2conll-0.1.6.tar.gz | 8.0 kB | Without provenance | Details for xmi2conll-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xmi2conll-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for xmi2conll-0.1.6-py3-none-any.whl |
Total release size: 16.2 kB
Release files / xmi2conll-0.1.6.tar.gz
| Download URL | xmi2conll-0.1.6.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aff572beaf96c1f3373a575687996f8f04fcb5e31c5034e7cd4adb9d81fd0f37
|
|
BLAKE2b-256 checksum How to use checksums |
069ac6eb2cec24d32e231b5dd2d1c39f303cc500d0c5fb907b66762071241373
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|
Release files / xmi2conll-0.1.6-py3-none-any.whl
| Download URL | xmi2conll-0.1.6-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2566862c5c171194152b97e27de5472456c8929628c8f9e974b7b32017a9ce25
|
|
BLAKE2b-256 checksum How to use checksums |
d791123ad07f01dd8288336b7d1be6ac9ad38ea259331a20be24414638b782e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|
Security for xmi2conll 0.1.6
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.