{"categories":[{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing"}],"enrichment":{"capability":"Extracts or replaces keywords in text using the FlashText algorithm, which is based on Aho-Corasick and Trie data structures and designed to be faster than regex for bulk keyword operations.","skillfed_tags":["text-processing","pattern-matching","nlp-utility"],"use_cases":["Extract named entities or domain-specific terms from documents at scale faster than regex-based approaches.","Replace product names, abbreviations, or aliases with canonical forms in bulk text processing pipelines.","Build keyword-based text classification or tagging systems where you need to match many terms efficiently.","Normalize variations of terms (e.g., 'Big Apple' \u2192 'New York') across large document collections.","Detect and extract keywords with associated metadata (e.g., category labels) from unstructured text."],"what_it_does":"FlashText is a keyword extraction and replacement library that implements a specialized algorithm optimized for finding and replacing multiple keywords in text. Instead of using regex, it builds on Aho-Corasick and Trie data structures to achieve faster performance, especially when working with large keyword dictionaries or processing many documents. The library lets you add keywords with optional clean-name mappings, extract them from text with position information, or replace them with substitutes. It also supports case-sensitive matching, custom word boundaries, and bulk keyword operations via dictionaries or lists.\n\nThe package has no external runtime dependencies and works as a pure Python implementation. However, it requires compilation during installation and has not received updates since early 2018, though the repository remains accessible. The classifiers indicate support for Python 2.7, 3.5, and 3.6, but actual compatibility with modern Python versions is unclear.","worth_installing":"Yes, if you need fast keyword extraction or replacement on modern Python and can verify compatibility. The algorithm is sound and the library is widely used (2.5M+ monthly downloads), but the lack of updates since 2018 and high install friction (source build required) mean you should test it on your target Python version first. No known security vulnerabilities. Consider it a stable, specialized tool rather than an actively maintained package."},"id":"flashtext","links":{"html":"https://skillfed.io/packages/flashtext","md":"https://skillfed.io/packages/flashtext.md","pypi":"https://pypi.org/project/flashtext/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2018-02-16","license_spdx":null,"license_treatment":"permissive","name":"flashtext","python_support":"unspecified","summary":"Extract/Replaces keywords in sentences."},"popularity":{"monthly_downloads":2560496,"position":3000,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.7"}
