Metadata-Version: 2.1
Name: annotated-dataset
Version: 0.0.2
Summary: Annotated dataset analysis
Home-page: https://github.com/pangeamt/annotated_dataset
Author: Laurent Bié
Author-email: l.bie@pangeanic.com  
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: dkpro-cassis (>=0.5.0)
Requires-Dist: dkpro-cassis-tools (>=0.0.3)
Requires-Dist: networkx (>=2.5)
Requires-Dist: pycaprio (>=0.2.0)
Requires-Dist: web-anno-tsv (>=0.0.1)

# Annotated Dataset


## Install
```BASH
pip install annotated-dataset
```

## Usage
```
logging.basicConfig()
logging.getLogger().setLevel(logging.INFO)


# Create client for inception server
inception_client = InceptionClient.create_client(
    host='https://mapa.pangeamt.com/',
    username='xxx',
    password='xxx'
)

# Config
config = {
    'dataset_name': 'MAPA_BG',
    'inception_projects': [
        {
            'name': 'Bulgarian_Legal_1',
            'use_segmentation_by_newline': True,
            'inception_client': inception_client
        },
        {
            'name': 'Bulgarian_Legal_2',
            'use_segmentation_by_newline': True,
            'inception_client': inception_client
        }
    ],
    'gold_corpus_preferred_resources': ['Bulgarian_Legal_1'],
    'export_dir': './'
}


export(config)
```


