{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/7"},{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/5"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/10"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/5"},{"label":"Software Distribution","url":"https://skillfed.io/packages/category/system-software-distribution"}],"enrichment":{"capability":"Find and replace multiple strings in text with word-boundary awareness, using C-accelerated Aho-Corasick matching for speed comparable to regex but typically 30-100x faster.","skillfed_tags":["nlp-toolkit","performance-focused","unmaintained"],"use_cases":["Build a tokenizer that finds known terms in documents while respecting word boundaries, returning normalized labels.","Implement a spell-checker or text normalizer that replaces contractions or misspellings in bulk across large text corpora.","Create a keyword extraction tool that identifies multiple domain-specific terms in documents with case-insensitive matching.","Refactor code or configuration files by replacing multiple strings in one pass, with regex-like prefix/postfix boundary support.","Normalize text by replacing accented characters or synonyms across a corpus faster than regex-based approaches."],"what_it_does":"textsearch is a Python library for finding and replacing multiple strings in text with word-boundary awareness. It wraps the C-based Aho-Corasick automaton (via pyahocorasick) to deliver speed gains over regex while offering convenience features like case-sensitivity modes, custom return types, and handler hooks for post-match processing. It is designed for NLP and text-processing tasks where you need to match full words rather than substrings, and where performance matters.\n\nThe library supports multiple case modes (ignore, insensitive, sensitive, smart), flexible return types (matched string, normalized value, or custom objects), and optional accent-character normalization. It depends on anyascii for character normalization and pyahocorasick for the underlying automaton. However, the project is no longer maintained\u2014the last commit was in September 2022\u2014so it will not receive updates for new Python versions or security issues.","worth_installing":"Yes, if you need fast multi-string matching with word boundaries and can tolerate an unmaintained library. The low install friction and permissive license make adoption easy, and the performance claims are compelling for NLP tasks. However, verify that pyahocorasick works on your target platform and Python version, and accept that no updates will arrive for compatibility or security issues. For new projects, consider whether an actively maintained alternative better suits your risk tolerance."},"id":"textsearch","links":{"html":"https://skillfed.io/packages/textsearch","md":"https://skillfed.io/packages/textsearch.md","pypi":"https://pypi.org/project/textsearch/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2022-09-02","license_spdx":null,"license_treatment":"permissive","name":"textsearch","python_support":"unspecified","summary":"Find strings/words in text; convenience and C speed"},"popularity":{"monthly_downloads":608680,"position":5778,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.0.24"}
