Skip to content
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

  1. Design Philosophy The 10 design rules behind our zero-dependency build, strict typing, and memory model.

  2. Span Tracking The mechanics behind our PUA masks and $O(\log K)$ delta tracking for exact character offsets.

  3. Use Cases Code recipes for sentence segmentation, span extraction, bounded streaming, and data cleaning.

  4. Languages How we handle abbreviations, legal numbering, non-Latin scripts, and unspaced text across 22 languages.

  5. Benchmarks Benchmark comparisons, latency tables, and failure analysis against Stanza, spaCy, NLTK, BlingFire, Syntok, and pySBD.

  6. Contributing Developer guide for running automated quality gates (validate.sh) and adding language configurations.


Quick Navigation & Links

Clone this wiki locally