Skip to main content

#Span converter

Convert a given text with spans to BIO tags. Allows overlapping spans.

Installation

pip install span-converter

Get started

` from span_converter import SpanConverter

converter=SpanConverter("pl")

result=converter.convert("tu mam tekst, kolejny już.", [{'start': 14, 'end': 21, 'label': 'uuu'}])

`

Release files for span-converter 0.1.0

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

Source distribution (sdist)

Source distribution for span-converter 0.1.0
File Size Uploaded
span-converter-0.1.0.tar.gz 2.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for span-converter 0.1.0
File Interpreter ABI Platform
span_converter-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.4 kB

Release files / span-converter-0.1.0.tar.gz

Download URL span-converter-0.1.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5430979c3f864a9a8dae478df2beb4eba773f98893b7e0eb7b48cdfbd1954bb1
BLAKE2b-256 checksum
How to use checksums
5e5a2b01a3d4b37006e086a91e9bbffc66eff743b51b0a521d5b9d49cb4a31c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.14 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9

Release files / span_converter-0.1.0-py3-none-any.whl

Download URL span_converter-0.1.0-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c844fc5b3aadfbc7d0e5d9bb37dd7aeecb94a69ed191dfeb856c0beb1cc9fd7
BLAKE2b-256 checksum
How to use checksums
c0d45c1f5b1971136b697c6bf5c6cae046d5103b16efe0ae8ebce515e86b0246
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.14 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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