Skip to main content

doccano-transformer

Codacy Badge Build Status

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

Supported formats

Doccano Transformer supports the following formats:

  • CoNLL 2003
  • spaCy

Install

To install doccano-transformer, simply use pip:

pip install doccano-transformer

Examples

Named Entity Recognition

The following formats are supported:

  • CoNLL 2003
  • spaCy
from doccano_transformer.datasets import NERDataset
from doccano_transformer.utils import read_jsonl

dataset = read_jsonl(filepath='example.jsonl', dataset=NERDataset, encoding='utf-8')
dataset.to_conll2003(tokenizer=str.split)
dataset.to_spacy(tokenizer=str.split)

Contribution

We encourage you to contribute to doccano transformer! Please check out the Contributing to doccano transformer guide for guidelines about how to proceed.

License

MIT

Metadata

Release files for doccano-transformer 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for doccano-transformer 1.0.2
File Size Uploaded Provenance
doccano-transformer-1.0.2.tar.gz 28.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for doccano-transformer 1.0.2
File Interpreter ABI Platform
doccano_transformer-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 34.6 kB

Release files / doccano-transformer-1.0.2.tar.gz

Download URL doccano-transformer-1.0.2.tar.gz
Size 28.2 kB
Tags Source
SHA-256 checksum
How to use checksums
fa7bd1652d498f02740de92b939548f884d1d78861c2222ee8a5848f3b08ce75
BLAKE2b-256 checksum
How to use checksums
f36cd6acb845eaa5d0e3558612f8fc2e0dbcb6487d82263aef05f890dd63913e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

Release files / doccano_transformer-1.0.2-py3-none-any.whl

Download URL doccano_transformer-1.0.2-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5121c7d3c54f55e30f9a32b24e82ba7ab2b28f79f64ff006c6bde0a841b34d4b
BLAKE2b-256 checksum
How to use checksums
1131a08af5ff31760d3a80d2dfc132fab7806fdb6e9a9cd39e50c11b08039385
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

Security for doccano-transformer 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page