Metadata-Version: 2.1
Name: doccano-transformer
Version: 1.0.0
Summary: Format transformer tool for doccano
Home-page: https://github.com/doccano/doccano-transformer
Author: Hiroki Nakayama, Yasufumi Taniguchi
Author-email: hiroki.nakayama.py@gmail.com
License: UNKNOWN
Keywords: doccano,annotation,machine learning
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.5, <4
Description-Content-Type: text/markdown
Requires-Dist: spacy
Requires-Dist: importlib-metadata

# doccano-transformer

[![Build Status](https://github.com/doccano/doccano-transformer/workflows/CI/badge.svg)](https://github.com/doccano/doccano-transformer/actions)

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`:

```bash
$ pip install doccano-transformer
```

## Examples

```python
from doccano_transformer import Dataset
from doccano_transformer.tasks import NER

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


