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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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