rapidfuzz-cpp
« Back to VersTracker
Description:
Rapid fuzzy string matching in C++ using the Levenshtein Distance
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: c++ algorithm fuzzy-matching header-only levenshtein
Install: brew install rapidfuzz-cpp
About:
Rapidfuzz-cpp is a high-performance C++ header-only library for rapid fuzzy string matching. It implements the Levenshtein Distance and related algorithms to efficiently calculate string similarity ratios. Its primary value proposition is delivering speed comparable to the established RapidFuzz Python library while remaining lightweight and dependency-free.
Key Features:
  • Header-only library (no build required)
  • High performance with SIMD optimizations
  • Provides Levenshtein distance and similarity ratios
  • C++11/14/17 compatible
Use Cases:
  • Implementing spell-checkers and auto-correct features
  • Data deduplication and record linkage
  • Natural Language Processing (NLP) preprocessing
  • Command-line interface (CLI) argument matching
Alternatives:
  • TheFuzz – Python-based implementation; rapidfuzz-cpp offers significantly faster performance for C++ applications.
  • std::string::find – Standard library search is exact; rapidfuzz-cpp handles typos and partial matches.
Version History
Detected Version Rev Change Commit
Dec 17, 2024 2:23pm 0 VERSION_BUMP 6fa16213
Dec 17, 2024 2:07pm 0 VERSION_BUMP 61ab2a2f