{"categories":[{"label":"Linguistic","url":"https://skillfed.io/packages/category/text-processing-linguistic/3"}],"enrichment":{"capability":"PyRuSH segments clinical and telegraphic text into sentences using rule-based hashing, handling abbreviations and formatting irregularities common in medical notes.","skillfed_tags":["clinical-nlp","sentence-segmentation","spacy-component"],"use_cases":["Segment clinical notes into sentences before downstream NLP tasks like entity extraction or relation prediction.","Preprocess telegraphic or abbreviated text (e.g., medical shorthand) where standard sentence splitters fail.","Integrate rule-based sentence segmentation into a spaCy pipeline without writing custom components.","Handle medical text with irregular formatting, multiple line breaks, and clinical abbreviations.","Adapt segmentation rules for domain-specific text by modifying the rule configuration file."],"what_it_does":"PyRuSH is a Python port of the Java RuSH sentence segmenter, designed specifically for clinical and telegraphic text where standard sentence boundaries are ambiguous or irregular. It uses a nested hash table to apply rule-based segmentation efficiently, avoiding the rule-order dependencies and performance degradation that plague large rule sets. The package integrates with spaCy 3.x as a sentencizer component, making it usable in standard NLP pipelines alongside other spaCy tools.\n\nThe core use case is splitting clinical notes\u2014which often contain abbreviations, line breaks, and formatting inconsistencies\u2014into meaningful sentence units. It depends on spacy, Cython, PyFastNER, quicksectx, loguru, and setuptools, so installation requires compilation on some platforms. The package supports Python 3.6 and later, with prebuilt wheels for recent Python versions across major operating systems.","worth_installing":"Yes, if you work with clinical notes or telegraphic text and need reliable sentence segmentation. The rule-based approach and spaCy integration make it a solid choice for medical NLP pipelines. Install friction is moderate due to compiled dependencies, but wheels are available for common platforms. No known vulnerabilities and active maintenance are positive signals. Caveat: you must obtain or create a rule configuration file; the package does not ship with defaults."},"id":"pyrush","links":{"html":"https://skillfed.io/packages/pyrush","md":"https://skillfed.io/packages/pyrush.md","pypi":"https://pypi.org/project/pyrush/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-28","license_spdx":"MIT","license_treatment":"permissive","name":"PyRuSH","python_support":"supports_current","summary":"PyRuSH is the python implementation of RuSH (Rule-based sentence Segmenter using Hashing), which is originally developed using Java. RuSH is an efficient, reliable, and easy adaptable rule-based sentence segmentation solution. It is specifically designed to handle the telegraphic written text in clinical note. It leverages a nested hash table to execute simultaneous rule processing, which reduces the impact of the rule-base growth on execution time and eliminates the effect of rule order on accuracy."},"popularity":{"monthly_downloads":76692,"position":14600,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.13"}
