String Similarity Computation Using 'RapidFuzz'
Overview
Provides a high-performance interface for calculating string similarities and distances, leveraging the efficient library 'RapidFuzz' https://github.com/rapidfuzz/rapidfuzz-cpp. This package integrates the 'C++' implementation, allowing 'R' users to access cutting-edge algorithms for fuzzy matching and text analysis. Supported metrics include Levenshtein, Damerau-Levenshtein, Hamming, Jaro, Jaro-Winkler, Longest Common Subsequence (LCS), Optimal String Alignment (OSA), Indel, Prefix, and Postfix distances and similarities, as well as multiple fuzzy matching ratios.
Minor Changes
- Updated the bundled
rapidfuzz-cppC++ library from v3.3.3 to **v3.3.4**: - Fixed a potential out-of-bounds access inside
Editops::remove_subsequence. - Added missing standard library includes.
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
Show 3 earlier changesHide 3 earlier changes
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 61
- Examples that run
- 100%53 run in a plain check
- Exported functions with examples
- 87%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
Stars over time
Forks over time
Commits over time
7 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/strategicprojects/rapidfuzz on 2026-10-21.
GitHub Pages site last deployed 2026-09-29
pkgdown site last built 2026-08-31
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-06-29Seen in the repository: CLAUDE.mdNamed in .Rbuildignore: CLAUDE.mdCommits: at least 8 crediting it in the message
- Claude Fable 54 commits · Aug 2026
- Claude Opus 5.53 commits · Sep 2026
- Claude Opus 4.81 commit · Jun 2026
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 1.1.1Latest
- RR 4.6.0 released · 2026-04-24
- 1.1.02026-04-07 · diff ↗ ·
removed 1 export
pattern:^[[:alpha:]]+added 61 exports
damerau_levenshtein_distance, damerau_levenshtein_normalized_distance, damerau_levenshtein_normalized_similarity, damerau_levenshtein_similarity, editops_apply_str, editops_apply_vec, extract_best_match, extract_matches, extract_similar_strings, fuzz_QRatio, fuzz_WRatio, fuzz_partial_ratio, fuzz_partial_token_ratio, fuzz_partial_token_set_ratio, fuzz_partial_token_sort_ratio, fuzz_ratio, fuzz_token_ratio, fuzz_token_set_ratio, fuzz_token_sort_ratio, get_editops, hamming_distance, hamming_normalized_distance, hamming_normalized_similarity, hamming_similarity, indel_distance, indel_normalized_distance, indel_normalized_similarity, indel_similarity, jaro_distance, jaro_normalized_distance and 31 more - RR 4.5.0 released · 2025-04-11
- 1.02024-12-05
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-12-05
- Total releases
- 3 / 2 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 359 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("RapidFuzz")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.