Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings
rapidfuzz

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
@rapidfuzz

RapidFuzz

fuzzy string matching libraries for various programming languages

RapidFuzz provides libraries for fuzzy string matching in various programming languages.

For Python there are the following libraries:

  • RapidFuzz provides various string metrics with a focus on makingthem as fast as possible.
  • Levenshtein provides a couple string metrics and median implementations.For string metrics generally rapidfuzz should be te preferred choice. Opposed to all other libraries this library iscurrently GPLv2 licensed.
  • python-Levenshtein this is an alias to the Levenshtein library thatonly exists for backwards compatibility reasons.
  • JaroWinkler provides a fast implementation of Jaro and JaroWinkler similarity.This was placed in RapidFuzz at some point and so this largely exists for applications already using it.
  • CyDifflib drop in replacement for difflib in the Python standard librarywhich is faster.

C++

For C++ there are the following libraries:

  • rapidfuzz-cpp provides various string metrics with a focus on makingthem as fast as possible. This should be used when the performance of the algorithms is more important thana slightly larger binary.

Similar to rust there will be an implementation focussing on binary size in the future.

Rust

For rust there are the following libraries:

  • rapidfuzz-rs provides various string metrics with a focus on makingthem as fast as possible. This should be used when the performance of the algorithms is more important thana slightly larger binary.
  • strsim-rs provides a lot of string metrics of rapidfuzz, but has a focus onkeeping the binary size as small as possible. This should be used when performance of the algorithms doesn't reallymatter too much, since the application only compares a small set of strings. An example for this would be suggestions ina CLI.

PinnedLoading

  1. RapidFuzzRapidFuzzPublic

    Rapid fuzzy string matching in Python using various string metrics

    Python 3.6k 146

  2. LevenshteinLevenshteinPublic

    The Levenshtein Python C extension module contains functions for fast computation of Levenshtein distance and string similarity

    C++ 368 25

  3. rapidfuzz-cpprapidfuzz-cppPublic

    Rapid fuzzy string matching in C++ using the Levenshtein Distance

    C++ 337 55

  4. rapidfuzz-rsrapidfuzz-rsPublic

    Rapid fuzzy string matching in Rust using various string metrics

    Rust 62 5

  5. strsim-rsstrsim-rsPublic

    🔤 Rust implementations of string similarity metrics

    Rust 461 43

Repositories

Loading
Type
Select type
Language
Select language
Sort
Select order
Showing 10 of 13 repositories

Top languages

C++PythonCRustHTML

Most used topics

Loading…


[8]ページ先頭

©2009-2025 Movatter.jp