bk-tree
0.1.4
Header-only Burkhard-Keller tree library
|
Damerau–Levenshtein metric. More...
#include <bktree.hpp>
Public Member Functions | |
DamerauLevenshteinDistance (size_t initial_size=BK_MATRIX_INITIAL_SIZE) | |
integer_type | compute_distance (std::string_view s, std::string_view t) const |
Public Member Functions inherited from bk_tree::metrics::Distance< DamerauLevenshteinDistance > | |
integer_type | operator() (std::string_view s, std::string_view t) const |
Damerau–Levenshtein metric.
Similar to EditDistance, but with transposition.