--- id: py-rust-stemmers version: "0.1.8" license: unclear license_treatment: unclear maintenance: active --- # py-rust-stemmers — Fast and parallel snowball stemmer License: unclear · Maintenance: active · Downloads: 5.2M/mo ## What it is and what it does py-rust-stemmers wraps the Rust-based rust-stemmers library to bring Snowball stemming algorithms into Python with high performance. It exposes three main methods: stem_word() for single words, stem_words() for sequential batch processing, and stem_words_parallel() for parallel batch processing of larger word lists. The package is compiled to native code using maturin, eliminating the Python GIL and leveraging Rust's speed for text normalization tasks. The library is designed for text preprocessing pipelines where word reduction to a common stem form improves downstream search, clustering, or classification. It requires Python 3.10 or later and has no runtime dependencies beyond the compiled extension itself. Installation is straightforward on common platforms via prebuilt wheels, though less common architectures may require building from source. Use it for: - Preprocess large document collections for search indexing by reducing words to stems in parallel batches - Normalize user queries in real-time search systems using the single-word stemmer for low-latency responses - Batch-stem word vocabularies during NLP model training or feature engineering pipelines - Reduce memory footprint in text classification by conflating morphological variants before vectorization - Build stemmed inverted indexes for full-text search engines with parallel processing of corpus text ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides fast, parallel word stemming using Snowball algorithms via a Rust backend, with methods for single words, sequential lists, and parallel batch processing. Yes, with a license verification step. The package is actively maintained, has no known vulnerabilities, and offers genuine performance benefits for text stemming at scale via parallelism and Rust compilation. Install friction is moderate but manageable via prebuilt wheels on standard platforms. Before production use, confirm the actual license terms (metadata is unclear despite the MIT claim in the description). ## Install pip install py-rust-stemmers uv add py-rust-stemmers poetry add py-rust-stemmers ## Installing py-rust-stemmers Before you install: Medium install friction due to compiled wheels; prebuilt binaries available for Python 3.10 and 3.11 on Linux, macOS, and Windows. Package is actively maintained with recent release activity. License in practice: License treatment is unclear—no SPDX identifier or raw license metadata provided in the package record, despite the description mentioning MIT. Verify the actual license terms before use in proprietary or restricted contexts. Quickstart: pip install py-rust-stemmers from py_rust_stemmers import SnowballStemmer s = SnowballStemmer('english') stemmed = s.stem_word('running') stemmed_words = s.stem_words(['running', 'jumps', 'easily']) stemmed_parallel = s.stem_words_parallel(['running', 'jumps', 'easily']) Requires Python 3.10 or later. Verify before relying: - Actual license terms and enforceability (description claims MIT but metadata is absent) - Performance improvement magnitude for parallel stemming relative to sequential on typical workloads - Language support breadth beyond English (Snowball supports multiple languages but not documented here) - Minimum word-list size threshold where parallel processing becomes beneficial ## Package facts - License: not declared (unclear) - Python support: supports_current - Install friction: medium - Maintenance: active - Downloads: 5.2M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags snowball stemmer python, word stemming parallel, rust stemmer wrapper, text normalization stemming, batch word stemming, linguistic stemming library, fast stemming algorithm, stemming, nlp-preprocessing, rust-binding [View on SkillFed](https://skillfed.io/packages/py-rust-stemmers) · [View on PyPI](https://pypi.org/project/py-rust-stemmers/)