Comparison
mosestokenizer vs pysbd vs segtok vs wtpsplit
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Wrappers for several pre-processing scripts from the Moses toolkit.
Likely abandoned. No release or commit for years (last release over 5 years ago).
pip install mosestokenizerpysbd (Python Sentence Boundary Disambiguation) is a rule-based sentence boundary detection that works out-of-the-box across many languages.
Likely abandoned. No release or commit for years (last release over 5 years ago).
pip install pysbdsentence segmentation and word tokenization tools
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install segtokUniversal Robust, Efficient and Adaptable Sentence Segmentation
Maintained. Last release 2 days ago, commits in 2 of the last 26 weeks. Weaker on commit activity.
pip install wtpsplitIn short
- mosestokenizer looks abandoned: avoid it for new projects.
- pysbd looks abandoned: avoid it for new projects.
- segtok looks abandoned: avoid it for new projects.
- wtpsplit is the most used: 51K downloads a month.
- wtpsplit also has the best Pythie’s Index (61).
- Safe default for a new project: wtpsplit.
Side by side
| Metric | mosestokenizer | pysbd | segtok | wtpsplit |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 15 | 19 |