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)
Advanced usage
see example_advanced.py
Metadata
Release files for annotated-dataset 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| annotated_dataset-0.0.8.tar.gz | 14.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| annotated_dataset-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.5 kB
Release files / annotated_dataset-0.0.8.tar.gz
| Download URL | annotated_dataset-0.0.8.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49b74da77944448630f3ca347f6e87a14b670dd09567c7d6d028d241cfcf21b2
|
|
BLAKE2b-256 checksum How to use checksums |
0d583b272e3faec9eb3297069ab6190f2209baac27397ed4a0ffde71f8d45fcb
|
| 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/40.8.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6
|
Release files / annotated_dataset-0.0.8-py3-none-any.whl
| Download URL | annotated_dataset-0.0.8-py3-none-any.whl |
|---|---|
| Size | 19.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
84fb924554f0651223101374d61ccd7272fcffaf51fac01fa869d3bfda39987a
|
|
BLAKE2b-256 checksum How to use checksums |
296e269029a8c7ab42787033dbd73265d3819dc9ae3dac38c798098fef622942
|
| 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/40.8.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6
|