Format transformer tool for doccano
Project description
doccano-transformer
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
Release history Release notifications | RSS feed
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
Close
Hashes for doccano_transformer-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11999ef1483fc2e4d61c08057c0ce7c6cc9e1fb36b6d9da41a04c1a401bbfaa4 |
|
MD5 | d30ee8d53ec0e61552e66481a68e34a6 |
|
BLAKE2b-256 | 47450a2b041b985c8703cedd472990c406078920ffb0a24975e54fb4c7f6b6b6 |