awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
vi3k6i5 avatar

vi3k6i5/flashtext

0
View on GitHub↗
5,715 stars·596 forks·Python·MIT·13 views

Flashtext

FlashText is a dictionary-based text processor and keyword extraction library designed for high-performance string searching and programmatic content replacement. It provides specialized utilities to identify and retrieve predefined terms from text or swap specific terms with replacement strings across large volumes of data.

The project utilizes an Aho-Corasick string search implementation to enable multiple-pattern matching. This approach allows for single-pass text scanning and linear-time complexity search, ensuring processing time depends on the length of the input text rather than the size of the keyword dictionary.

The library covers keyword dictionary management for maintaining targeted term lists and provides workflows for both automated text replacement and keyword extraction. These capabilities allow for the systematic modification and retrieval of predefined terms within massive datasets.

Features

  • Predefined Keyword Extraction - Provides a high-performance capability for retrieving predefined terms from text along with their positions.
  • Predefined Term Extraction Libraries - Offers a high-performance library for identifying and retrieving predefined terms from large bodies of text.
  • Comprehensive Dictionary Managers - Includes a system for maintaining targeted term lists by adding, removing, or querying words within a dictionary.
  • Dictionary-Based Text Processors - Provides a high-performance utility for managing keyword dictionaries to programmatically extract or modify string content.
  • Dictionary-Based Replacements - Provides a dictionary-driven mechanism to map identified keywords to replacement strings during text reconstruction.
  • Custom Dictionaries - Provides tools for maintaining and querying structured custom word lists used for text processing.
  • String Pattern Replacements - Implements a function for swapping specific terms with replacement strings across documents programmatically.
  • Keyword Replacement Toolkits - Provides a system for swapping specific terms in documents with replacement strings across large volumes of data.
  • Finite Automaton Search Algorithms - Implements an Aho-Corasick automaton for high-performance multi-pattern matching in a single pass.
  • Aho-Corasick Implementations - Implements the Aho-Corasick algorithm to enable efficient multiple-pattern matching in text.
  • Trie-Based Matching - Employs a trie-based prefix tree to enable fast lookup of multiple keywords in a single pass.
  • Dictionary-Based Extraction - Facilitates the retrieval of predefined terms from large bodies of text to identify specific entities or topics.
  • Large-Scale Text Handling - Efficiently processes massive datasets for keyword search and modification where regular expressions would be too slow.
  • Linear-Time String Matching - Ensures that processing time grows only with the length of the input text, regardless of dictionary size.
  • Single-Pass Tokenizers - Utilizes a single-pass scanning approach to identify all keyword matches without repeated iterations.
  • Automated Text Standardization - Enables systematic swapping of specific words or phrases to standardize or clean large volumes of content.
  • Text Processing - Efficient library for searching and replacing text.

Star history

Star history chart for vi3k6i5/flashtextStar history chart for vi3k6i5/flashtext

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Flashtext

These projects share indexed features with Flashtext. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • infinilabs/analysis-ikinfinilabs avatar

    infinilabs/analysis-ik

    17,468View on GitHub↗

    Analysis-ik is a Chinese text segmenter and analysis plugin for Lucene-based search engines. It provides a specialized analyzer for splitting Chinese sentences into meaningful words to improve indexing and search accuracy within Elasticsearch and OpenSearch. The project features a dynamic dictionary manager that can load word libraries and stop-word files from remote HTTP endpoints. It monitors metadata headers on these remote files to trigger automatic vocabulary updates without requiring a service restart. The analyzer supports both fine-grained exhaustive and coarse-grained smart segmenta

    Javaanalyzereasysearchelasticsearch
    View on GitHub↗17,468
  • automattic/harperAutomattic avatar

    Automattic/harper

    10,890View on GitHub↗

    Harper is a local English linter and grammar checker designed as an IDE writing assistant. It operates as a language server that provides real-time spelling and grammar analysis for markdown and code comments, processing all linguistic data on the local device to ensure privacy and eliminate cloud dependencies. The tool is specialized for technical documentation, featuring the ability to identify and ignore text within code fences and inline blocks to prevent false positives. It allows for personalized configuration through custom dictionaries and the use of suppression comments to exclude sp

    Rustchrome-extensiondeveloper-toolsenglish-language
    View on GitHub↗10,890
  • amzxyz/rime_wanxiangamzxyz avatar

    amzxyz/rime_wanxiang

    2,863View on GitHub↗

    This project is a CJK input method framework and configuration set designed for the Rime input engine. It provides a comprehensive system of schemas and dictionary packs to optimize Chinese character entry through pinyin and double-pinyin workflows. The framework is distinguished by its use of Lua-powered extensions that add dynamic utilities, such as inline mathematical calculators, automated timestamps, and text formatting, directly to the input interface. It also features refined word libraries and language models specifically tuned to improve prediction accuracy and first-choice hit rates

    Luadictsrimerime-config
    View on GitHub↗2,863
  • fxsjy/jiebafxsjy avatar

    fxsjy/jieba

    35,027View on GitHub↗

    This project is a Chinese text segmentation library and tokenizer designed to split Chinese sentences into individual words. It serves as a natural language processing tool for splitting characters into words, tagging parts of speech, and extracting keywords using statistical analysis. The library distinguishes itself through support for custom dictionary configuration and vocabulary file management, allowing users to override default segmentation rules for domain-specific accuracy. It also includes a TF-IDF keyword extractor to identify significant words and core topics within documents. Th

    Python
    View on GitHub↗35,027
Compare all 30 related projects→

Frequently asked questions

What does vi3k6i5/flashtext do?

FlashText is a dictionary-based text processor and keyword extraction library designed for high-performance string searching and programmatic content replacement. It provides specialized utilities to identify and retrieve predefined terms from text or swap specific terms with replacement strings across large volumes of data.

What are the main features of vi3k6i5/flashtext?

The main features of vi3k6i5/flashtext are: Predefined Keyword Extraction, Predefined Term Extraction Libraries, Comprehensive Dictionary Managers, Dictionary-Based Text Processors, Dictionary-Based Replacements, Custom Dictionaries, String Pattern Replacements, Keyword Replacement Toolkits.

Which projects share features with vi3k6i5/flashtext?

Projects with overlapping indexed features include: infinilabs/analysis-ik — Analysis-ik is a Chinese text segmenter and analysis plugin for Lucene-based search engines. It provides a specialized… houbb/sensitive-word — This project is a high-performance Java library and content moderation framework designed to detect and mask… amzxyz/rime_wanxiang — This project is a CJK input method framework and configuration set designed for the Rime input engine. It provides a… automattic/harper — Harper is a local English linter and grammar checker designed as an IDE writing assistant. It operates as a language… fxsjy/jieba — This project is a Chinese text segmentation library and tokenizer designed to split Chinese sentences into individual… lancopku/pkuseg-python — pkuseg-python is a Chinese word segmentation toolkit and natural language processing library. It provides specialized…