Skip to main content

A fundamental sentence splitter based on spacy.

Project description

Fun Sentence Splitter

A fundamental sentence splitter based on spacy.

Requirements

Python 3.10 or higher and poetry.

Local Dev Setup

Download the Spacy language model used in the tests:

python -m spacy download de_core_news_sm

Run static checks and tests:

ruff check .
mypy .
pytest --cov=fun_sentence_splitter

Run Evaluation

./evaluate.sh path/to/splits_dir

path/to/splits_dir: directory containing pairs of *.split and *.txt files. .split files contain the expected sentences, each on a separate line. .txt files contain the original text to split.

The evaluation script will automatically update the spacy dependency and download the required language models.

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

fun_sentence_splitter-0.4.3814.20260724.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file fun_sentence_splitter-0.4.3814.20260724.tar.gz.

File metadata

File hashes

Hashes for fun_sentence_splitter-0.4.3814.20260724.tar.gz
Algorithm Hash digest
SHA256 2afff69ad48f8c6e78e56b9e29e0a2b84ed7e9c502287637d65b5ef482ba0b57
MD5 68fc9ea133bfdd25186e28358ff4ee37
BLAKE2b-256 01d8698370d6ecfd590f9e3e86324a0c73d9ae32d1ba2f5f11b0d3c80375e8e7

See more details on using hashes here.

File details

Details for the file fun_sentence_splitter-0.4.3814.20260724-py3-none-any.whl.

File metadata

File hashes

Hashes for fun_sentence_splitter-0.4.3814.20260724-py3-none-any.whl
Algorithm Hash digest
SHA256 b02c7b15aacd690bc6db4c79d2daf5761a23d387948ea3cebed7fd2d848cf512
MD5 5f26f64f3e28e4db80a7f34cd61fc796
BLAKE2b-256 816a1aab082b1ad47646db412a500f2bc9b01f561b4e203dda149a3789c6ab81

See more details on using hashes here.

Supported by

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