Skip to main content

Format transformer tool for doccano

Project description

doccano-transformer

Build Status

Doccano Transformer helps you to transform an exported dataset into the format of your favorite machine learning library.

Support formats

Doccano Transformer supports the following formats:

  • CSV
  • CoNLL 2003
  • JSON
  • JSON Lines
  • SpaCy

Install

To install doccano-transformer, simply use pip:

$ pip install doccano-transformer

Examples

from doccano_transformer import Dataset
from doccano_transformer.tasks import NER

d = Dataset(filepath='example.jsonl', task=NER, tokenizer=str.split)
d.to_spacy()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

doccano_transformer-1.0.0-py3-none-any.whl (2.5 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