Skip to main content

A tool to convert WebAnno v3.x TSV files into spaCy v3.x Doc format.

Project description

WebAnno ⟶ spaCy

A tool that helps you to convert the WebAnno TSV 3.2 files to spaCy's Doc format.

Usage

$ poetry install
$ webanno2spacy --help
Usage: webanno2spacy [OPTIONS] SPACY_MODEL INPUT_TEXT_FILE INPUT_WEBANNO_FILE

Arguments:
  SPACY_MODEL         [required]
  INPUT_TEXT_FILE     [required]
  INPUT_WEBANNO_FILE  [required]

Options:
  --output-file PATH
  --install-completion [bash|zsh|fish|powershell|pwsh]
                                  Install completion for the specified shell.
  --show-completion [bash|zsh|fish|powershell|pwsh]
                                  Show completion for the specified shell, to
                                  copy it or customize the installation.
  --help                          Show this message and exit.

TODO

  • Implement batch conversion of multiple files to DocBin

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

webanno2spacy-0.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

webanno2spacy-0.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file webanno2spacy-0.1.0.tar.gz.

File metadata

  • Download URL: webanno2spacy-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for webanno2spacy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8b7e71d669e3d4cb4d7ebbdd1d478bdf7e5cf5e44b1bc60c179193db9795e7f4
MD5 8d63314b1c254b28fadb28df2ab7cc55
BLAKE2b-256 e67b6f15ee1c56cd2cdc6cb80c41b61a5cc6bffb7949c62995c7085f03c5ad4e

See more details on using hashes here.

File details

Details for the file webanno2spacy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: webanno2spacy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for webanno2spacy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce2c620623ecd3eca8f6be7d0bf589bf4e7badc2110e6a524fca68b602b40abe
MD5 a74db3c8144d2f713cfe7b4925128339
BLAKE2b-256 a5f9a06890e7c9e1d6ded7c2ed6f5c51a9f0d810d539229e706a8d9b9a1888aa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page