Skip to main content

Obeliks - sentence splitting & tokenization

Instalation

Install from PyPI:

pip install obeliks

Usage

Command line:

obeliks -h

Command line parameters:

-if <name*> read input from one or more files
-sif        read input from list of files, specified via stdin
-o <name>   write output to file <name>
-tei        produce XML-TEI output
-c		    produce CoNLL-U output
-d		    pass "newdoc id" to output (implies -c)

Usage examples:

obeliks "To je stavek." "Tudi to je stavek."
echo -e "To je stavek.\nTudi to je stavek." | obeliks
obeliks "To je stavek." "Tudi to je stavek." -o output.txt
echo -e "To je stavek.\nTudi to je stavek." | obeliks > output.txt
obeliks -if text*.txt
cat text*.txt | obeliks

As a Python module:

import obeliks

text = 'Pozdravljen, svet!'

# Store results to string
output = obeliks.run(text, conllu=True)

# Write result to file
obeliks.run(text, out_file='tei.txt', tei=True)

# Write to stdout
obeliks.run(text, to_stdout=True, conllu=True)

# Return object
object = obeliks.run(text, object_output=True)

# Read input from file(s)
output = obeliks.run(in_file='in.txt', conllu=True)
output = obeliks.run(in_files=['in1.txt', 'in2.txt'], tei=True)

Metadata

Release files for obeliks 1.1.7

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

Source distribution (sdist)

Source distribution for obeliks 1.1.7
File Size Uploaded Provenance Actions
obeliks-1.1.7.tar.gz 15.2 kB Without provenance Details for obeliks-1.1.7.tar.gz

Built distribution (wheel)

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

Total release size: 33.0 kB

Release files / obeliks-1.1.7.tar.gz

Download URL obeliks-1.1.7.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4af8142cd787fa55c836a0b89f3f68bd11393d93dbcce2bb83d648030a619d99
BLAKE2b-256 checksum
How to use checksums
67a4b9869883b0238d3d02e1e96e29983bec3e0874000f431d7c81db4a2c10e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.15

Release files / obeliks-1.1.7-py3-none-any.whl

Download URL obeliks-1.1.7-py3-none-any.whl
Size 17.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
35f41474b4e7008665ca1cc08da3b8c44af43c133d3f0a0510ba52c3ebd42d4c
BLAKE2b-256 checksum
How to use checksums
d9d653d3e7f6c3f65386febdd2e6c22e02a97058cd8b063b6457e334459caed0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.15

Security for obeliks 1.1.7

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