Skip to main content

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)

Advanced usage

see example_advanced.py

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.8.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

annotated_dataset-0.0.8-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file annotated_dataset-0.0.8.tar.gz.

File metadata

  • Download URL: annotated_dataset-0.0.8.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for annotated_dataset-0.0.8.tar.gz
Algorithm Hash digest
SHA256 49b74da77944448630f3ca347f6e87a14b670dd09567c7d6d028d241cfcf21b2
MD5 0fddee4528e24a5b6eb13e7cd5a0bfae
BLAKE2b-256 0d583b272e3faec9eb3297069ab6190f2209baac27397ed4a0ffde71f8d45fcb

See more details on using hashes here.

File details

Details for the file annotated_dataset-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: annotated_dataset-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for annotated_dataset-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 84fb924554f0651223101374d61ccd7272fcffaf51fac01fa869d3bfda39987a
MD5 5509fdc1af737a659fab8556062634d5
BLAKE2b-256 296e269029a8c7ab42787033dbd73265d3819dc9ae3dac38c798098fef622942

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page