Annotated dataset analysis
Project description
Annotated Dataset
Install
pip install annotated-dataset
Usage
from annotated_dataset.inception_client import InceptionClient
from annotated_dataset.export import export
import logging
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)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
annotated_dataset-0.0.5.tar.gz
(13.8 kB
view hashes)
Built Distribution
Close
Hashes for annotated_dataset-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4254528ad3abf629fccce74796c7774af1ff69e14ddbe29facf93b3af64441d |
|
MD5 | 8393ebe38a7c65bf5f69aecd8b7da17a |
|
BLAKE2b-256 | aefb874b146e181bf8992834229d66636469994d525e8b40c7d7c57a5fdec6ce |