Skip to main content

INCEpTALYTICS

DOI

An easy-to-use API for analyzing INCEpTION annotation projects.

  • We parse an XMI export of an Inception annotation project and provide easy access to (most) of the underlying data including annotators, source files, etc.
  • We provide recipes for computing project statistics, confusion matrices, inter-annotator-agreement, or plotting progress reports.

Installation

INCEpTALYTICS is on PyPi. To install it run:

pip install inceptalytics

Basic Usage

from inceptalytics import Project

file = "data/Example_Project_POS.zip"

# load project
project = Project.from_zipped_xmi(file)

# print all annotator names
for annotator in project.annotators:
    print(annotator)

# create a view 
pos_type = "de.tudarmstadt.ukp.dkpro.core.api.lexmorph.type.pos.POS"

view = project.select(
        annotation=project.feature_path(pos_type, "coarseValue"), 
        annotators=project.annotators, 
        source_files=project.source_file_names
)

print('# pos annotations in view:', len(view.annotations))

print('IAA Krippendorff: ', view.iaa())

Dashboard

We also provide a basic Streamlit web application as a starting point for a dashboard that fits your needs.

To run the dashboard, you will have to install some additional dependencies.

pip install -r examples/streamlit_requirements.txt

Afterwards, you can run the dashboard.

streamlit run examples/dashboard.py

The application should be available in your browser under http://localhost:8501. The URL is also printed on the shell.

Screenshot of dashboard

Changelog

Version 0.1.0

  • Project is now on PyPi.
  • Projects can now be loaded using the INCEpTION's Remote API using Project.from_remote.
  • Removed plotting functionality from INCEpTALYTICS and moved it to the dashboard under example.

Version 0.1.1

  • Added sanity checks and input normalisation to Project.from_remote.
  • Updated Project.from_remote to be compatible with the latest version of pycaprio.

Metadata

Release files for inceptalytics 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for inceptalytics 0.1.1
File Size Uploaded Provenance Actions
inceptalytics-0.1.1.tar.gz 10.5 kB Without provenance Details for inceptalytics-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for inceptalytics 0.1.1
File Interpreter ABI Platform Actions
inceptalytics-0.1.1-py3-none-any.whl Python 3 none any Details for inceptalytics-0.1.1-py3-none-any.whl

Total release size: 20.6 kB

Release files / inceptalytics-0.1.1.tar.gz

Download URL inceptalytics-0.1.1.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d80b882ae9257fe32ccbcd517f9932617e2e5b2ca2aeff2229ba489042c89ef7
BLAKE2b-256 checksum
How to use checksums
17ec097412e17a299c9b5f7bbfd7e3bc6c01b87dc0549893f8cac2eed1a3bfc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.3

Release files / inceptalytics-0.1.1-py3-none-any.whl

Download URL inceptalytics-0.1.1-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6d7a42ca55a2d344b4d1af4735c93395b825659723e781deab92fcfd78036090
BLAKE2b-256 checksum
How to use checksums
8683ee26a9a806d71e23f5c0376cf8a71752ec31f9345c845d0dc6cfc46a34b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.3

Security for inceptalytics 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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