You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actions[bot] edited this page Aug 24, 2026
·
4 revisions
cleave-sbd Documentation Wiki
Welcome to the cleave-sbd documentation and engineering wiki.
cleave-sbd is a high-performance, strictly-typed sentence boundary disambiguation (SBD) engine for Python (3.11+) with zero machine learning dependencies.
Complete Wiki Index
Design Philosophy
The 10 design rules behind our zero-dependency build, strict typing, and memory model.
Span Tracking
The mechanics behind our PUA masks and $O(\log K)$ delta tracking for exact character offsets.
Use Cases
Code recipes for sentence segmentation, span extraction, bounded streaming, and data cleaning.
Languages
How we handle abbreviations, legal numbering, non-Latin scripts, and unspaced text across 22 languages.
Benchmarks
Benchmark comparisons, latency tables, and failure analysis against Stanza, spaCy, NLTK, BlingFire, Syntok, and pySBD.
Contributing
Developer guide for running automated quality gates (validate.sh) and adding language configurations.