{"categories":[{"label":"Linguistic","url":"https://skillfed.io/packages/category/text-processing-linguistic/2"}],"enrichment":{"capability":"Splits text streams into sentences even when chunks arrive at arbitrary boundaries, with support for both synchronous and asynchronous iteration.","skillfed_tags":["streaming","nlp"],"use_cases":["Process streaming LLM responses to extract complete sentences as they arrive, without buffering entire outputs.","Split real-time chat or voice transcription streams into sentence units for downstream NLP processing.","Handle network-streamed text (e.g., HTTP chunked responses) and emit complete sentences incrementally.","Build sentence-aware streaming pipelines in async applications where text arrives in unpredictable fragment sizes."],"what_it_does":"Sentence Stream is a lightweight sentence splitter designed to handle text that arrives in arbitrary chunks\u2014such as streaming responses from language models or network I/O\u2014and reassemble them into complete sentences. Rather than requiring text to be buffered until word or sentence boundaries align, it processes chunks as they arrive and yields complete sentences when boundaries are detected.\n\nThe package provides both synchronous (stream_to_sentences) and asynchronous (async_stream_to_sentences) interfaces, making it suitable for integration into streaming pipelines. It depends only on the regex library and supports Python 3.9 through 3.13, keeping installation friction minimal.","worth_installing":"Yes, if you need to split sentences from text that arrives in arbitrary chunks or streams. The low install friction, active maintenance, permissive license, and focused scope make it a straightforward addition to streaming pipelines. Not necessary if your text is already buffered or sentence-aligned."},"id":"sentence-stream","links":{"html":"https://skillfed.io/packages/sentence-stream","md":"https://skillfed.io/packages/sentence-stream.md","pypi":"https://pypi.org/project/sentence-stream/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-01-08","license_spdx":null,"license_treatment":"permissive","name":"sentence-stream","python_support":"supports_current","summary":"A small sentence splitter for text streams"},"popularity":{"monthly_downloads":375237,"position":7140,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.3.0"}
