Skip to main content

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)

Source distribution for annotated-dataset 0.0.8
File Size Uploaded Provenance Actions
annotated_dataset-0.0.8.tar.gz 14.3 kB Without provenance Details for annotated_dataset-0.0.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for annotated-dataset 0.0.8
File Interpreter ABI Platform Actions
annotated_dataset-0.0.8-py3-none-any.whl Python 3 none any Details for annotated_dataset-0.0.8-py3-none-any.whl

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

Security for annotated-dataset 0.0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page