xmi2conll
Simple CLI to convert any annotated document in UIMA CAS XMI to CONLL format (IOB schema)
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.7%) to scientific vocabulary
Repository
Simple CLI to convert any annotated document in UIMA CAS XMI to CONLL format (IOB schema)
Basic Info
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 8
Metadata Files
README.md
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 :
bash
virtualenv --python=/usr/bin/python3.8 venv
source venv/bin/activate
then choose:
- Easy way (use pip):
bash
pip install xmi2conll
- Dev install:
bash
git clone https://github.com/Lucaterre/xmi2conll
pip install -r requirements.txt
Usage:
with pip install run:
bash
x2c --help
or with dev install run:
bash
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, --typenameannotations 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.
Owner
- Name: Lucas Terriel
- Login: Lucaterre
- Kind: user
- Location: Paris, France
- Company: École Nationale des Chartes
- Twitter: TerreLuca
- Repositories: 4
- Profile: https://github.com/Lucaterre
Engineer @chartes | before @ INRIA (ALMAnaCH team)
Citation (CITATION.CFF)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - family-names: "Terriel" given-names: "Lucas" orcid: "https://orcid.org/0000-0002-9189-258X" title: "xmi2conll" version: 0.1.0 date-released: 2022-09 url: "https://github.com/Lucaterre/xmi2conll"
GitHub Events
Total
Last Year
Committers
Last synced: over 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Lucas Terriel | 4****e | 15 |
| Lucaterre | l****l@g****m | 8 |
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 1
- Total pull requests: 0
- Average time to close issues: 3 days
- Average time to close pull requests: N/A
- Total issue authors: 1
- Total pull request authors: 0
- Average comments per issue: 0.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- Lucaterre (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 27 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 8
- Total maintainers: 1
pypi.org: xmi2conll
Simple CLI to convert any annotated document in UIMA CAS XMI to CONLL format (IOB schema support).
- Homepage: https://github.com/Lucaterre/xmi2conll
- Documentation: https://xmi2conll.readthedocs.io/
- License: MIT
-
Latest release: 0.1.6
published over 3 years ago
Rankings
Maintainers (1)
Dependencies
- click ==8.1.3
- dkpro-cassis ==0.7.2
- pkg_resources ==0.0.0
- pyfiglet ==0.8.post1
- termcolor ==2.0.1
- tqdm ==4.64.1
- requirements *
- actions/checkout v2 composite
- actions/setup-python v2 composite