xmi2conll

Simple CLI to convert any annotated document in UIMA CAS XMI to CONLL format (IOB schema)

https://github.com/lucaterre/xmi2conll

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
Last synced: 9 months ago · JSON representation ·

Repository

Simple CLI to convert any annotated document in UIMA CAS XMI to CONLL format (IOB schema)

Basic Info
  • Host: GitHub
  • Owner: Lucaterre
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 16.8 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 8
Created over 3 years ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md

xmi2conll CLI

Python Version License: MIT PyPI version

logo

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

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

All Time
  • Total Commits: 23
  • Total Committers: 2
  • Avg Commits per committer: 11.5
  • Development Distribution Score (DDS): 0.348
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email 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
bug (1)
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).

  • Versions: 8
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 27 Last month
Rankings
Dependent packages count: 10.1%
Dependent repos count: 21.5%
Average: 26.3%
Forks count: 29.8%
Downloads: 31.0%
Stargazers count: 38.8%
Maintainers (1)
Last synced: 10 months ago

Dependencies

requirements.txt pypi
  • 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
setup.py pypi
  • requirements *
.github/workflows/python-publish.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite