pysbd
pysbd (Python Sentence Boundary Disambiguation) is a rule-based sentence boundary detection that works out-of-the-box across many languages.
Decision gist · record as of 2026-08-14
Yes, if you need English-only sentence segmentation and can tolerate an abandoned package. The rule-based approach is stable and has no dependencies, so it is unlikely to break due to environment changes. However, do not install if you need active maintenance, multi-language support, or assurance of ongoing bug fixes. For production systems, consider whether a maintained alternative better fits your risk tolerance.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Currently supports English only; other languages are not yet available.
- Low install friction with no runtime dependencies.
- However, the package is abandoned—last release was 2021-02-11, over 2010 days ago.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and imposes minimal restrictions; you can use, modify, and distribute the package freely in commercial or private projects with only attribution required.
last release 2021-02-11 (2010 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 5,792,822 downloads/mo, #2,036 on PyPI
Alternatives
Verify before relying
pip install pysbd
import pysbd
text = "My name is Jonas E. Smith. Please turn to p. 55."
seg = pysbd.Segmenter(language="en", clean=False)
print(seg.segment(text))- Whether the package's 97.92% accuracy on the Golden Rule Set still holds in practice for modern text patterns.
- Whether abandonment affects real-world reliability or if the rule set remains stable enough for production use.
- Compatibility with Python versions beyond 3.8 (classifiers list ends at 3.8; current support unclear).
What it is and what it does
pySBD is a rule-based sentence segmenter that splits text into individual sentences. It is a Python port of the Ruby Pragmatic Segmenter library, designed to handle edge cases like abbreviations (e.g., "E. Smith"), decimal points (e.g., "p. 55"), and other punctuation ambiguities without requiring training data. The package works out-of-the-box with minimal configuration.
You instantiate a Segmenter with a language code and call its segment() method on text to get a list of sentences. It can also be integrated as a spaCy pipeline component. The package has no runtime dependencies, making installation straightforward. However, it is currently English-only and has been abandoned since early 2021, meaning no new language support or bug fixes are being released.
Use it for
- Preprocessing raw text for NLP pipelines that require sentence-level input before tokenization or parsing.
- Splitting document text into sentences for downstream tasks like named entity recognition or sentiment analysis.
- Handling text with abbreviations and edge-case punctuation where naive split-on-period approaches fail.
- Integrating sentence segmentation into spaCy-based NLP workflows via the PySBDFactory component.
- Preparing text corpora for machine learning where sentence boundaries must be respected.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need English-only sentence segmentation and can tolerate an abandoned package.
The rule-based approach is stable and has no dependencies, so it is unlikely to break due to environment changes. However, do not install if you need active maintenance, multi-language support, or assurance of ongoing bug fixes. For production systems, consider whether a maintained alternative better fits your risk tolerance.
Install
pysbd on PyPI
Before you install
Low install friction with no runtime dependencies. However, the package is abandoned—last release was 2021-02-11, over 2010 days ago. No active maintenance or bug fixes should be expected.
Currently supports English only; other languages are not yet available.
License in practice
MIT license is permissive and imposes minimal restrictions; you can use, modify, and distribute the package freely in commercial or private projects with only attribution required.
Quickstart
pip install pysbd
import pysbd
text = "My name is Jonas E. Smith. Please turn to p. 55."
seg = pysbd.Segmenter(language="en", clean=False)
print(seg.segment(text))
Verify before relying
- Whether the package's 97.92% accuracy on the Golden Rule Set still holds in practice for modern text patterns.
- Whether abandonment affects real-world reliability or if the rule set remains stable enough for production use.
- Compatibility with Python versions beyond 3.8 (classifiers list ends at 3.8; current support unclear).
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 2,010 days since the last release |
| First released | |
| Downloads | 5,792,822 / month, #2,036 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Topic :: Scientific/EngineeringTopic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Scientific/Engineering :: Information AnalysisTopic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Text ProcessingTopic :: Text Processing :: Linguistic |
Evidence: pysbd-0.3.4-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “sentence splitting nlp”
- pysbdDetects sentence boundaries in text using rule-based heuristics,…
- segtokSplits Indo-European text into sentences and words using rule-based…
- minisbdDetects sentence boundaries in text across many languages using…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also PyRuSH · minisbd · sentence-stream · segtok · razdel · uniseg · semantic-text-splitter · unicode-segmentation-rs · negspacy