Comparison
mosestokenizer vs sacremoses 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 mosestokenizerSacreMoses
Maintained. Last release 4 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install sacremosessentence 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 3 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.
- segtok looks abandoned: avoid it for new projects.
- sacremoses is the most used: 1.5M downloads a month, 3.9× more than segtok.
- wtpsplit is better maintained: Pythie’s Index 61 against 49.
Side by side
| Metric | mosestokenizer | sacremoses | segtok | wtpsplit |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 15 | 49 |