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.3.387.20251030.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.3.387.20251030.tar.gz.

File metadata

File hashes

Hashes for fun_sentence_splitter-0.3.387.20251030.tar.gz
Algorithm Hash digest
SHA256 8faea869faaf09bf8f1e46ccccd01bb9e0a95a06d76bc5963c9001f3ab166af1
MD5 58a3a1ff2b906b2660cb261d52df85e6
BLAKE2b-256 998b04c2f15db9e85e31a65e137f425c0dc193f126cd9ed5321f33fcf9f30b80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fun_sentence_splitter-0.3.387.20251030-py3-none-any.whl
Algorithm Hash digest
SHA256 9fcd4d7806e22a759a3d33051fe24d8b1a064421d3e07dbb9f0768f1822f5ca1
MD5 5c73c69fe6405696540aa8a27b22a03c
BLAKE2b-256 0ad9fbd05d5538d4ee5dc46d1980aad25763af23e35187d3e468c367ba99baf1

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