#include <rapidfuzz_amalgamated.hpp>
Public Member Functions | |
template<typename Sentence1 > | |
CachedLevenshtein (const Sentence1 &s1_, LevenshteinWeightTable aWeights={1, 1, 1}) | |
template<typename InputIt1 > | |
CachedLevenshtein (InputIt1 first1, InputIt1 last1, LevenshteinWeightTable aWeights={1, 1, 1}) | |
template<typename InputIt2 > | |
int64_t | distance (InputIt2 first2, InputIt2 last2, int64_t score_cutoff=std::numeric_limits< int64_t >::max()) const |
template<typename Sentence2 > | |
int64_t | distance (const Sentence2 &s2, int64_t score_cutoff=std::numeric_limits< int64_t >::max()) const |
template<typename InputIt2 > | |
int64_t | similarity (InputIt2 first2, InputIt2 last2, int64_t score_cutoff=0) const |
template<typename Sentence2 > | |
int64_t | similarity (const Sentence2 &s2, int64_t score_cutoff=0) const |
template<typename InputIt2 > | |
double | normalized_distance (InputIt2 first2, InputIt2 last2, double score_cutoff=1.0) const |
template<typename Sentence2 > | |
double | normalized_distance (const Sentence2 &s2, double score_cutoff=1.0) const |
template<typename InputIt2 > | |
double | normalized_similarity (InputIt2 first2, InputIt2 last2, double score_cutoff=0.0) const |
template<typename Sentence2 > | |
double | normalized_similarity (const Sentence2 &s2, double score_cutoff=0.0) const |
|
inline |
|
inline |
int64_t rapidfuzz::CachedLevenshtein< CharT1 >::distance | ( | const Sentence2 & | s2, |
int64_t | score_cutoff = std::numeric_limits<int64_t>::max() |
||
) | const |
int64_t rapidfuzz::CachedLevenshtein< CharT1 >::distance | ( | InputIt2 | first2, |
InputIt2 | last2, | ||
int64_t | score_cutoff = std::numeric_limits<int64_t>::max() |
||
) | const |
double rapidfuzz::CachedLevenshtein< CharT1 >::normalized_distance | ( | const Sentence2 & | s2, |
double | score_cutoff = 1.0 |
||
) | const |
double rapidfuzz::CachedLevenshtein< CharT1 >::normalized_distance | ( | InputIt2 | first2, |
InputIt2 | last2, | ||
double | score_cutoff = 1.0 |
||
) | const |
double rapidfuzz::CachedLevenshtein< CharT1 >::normalized_similarity | ( | const Sentence2 & | s2, |
double | score_cutoff = 0.0 |
||
) | const |
double rapidfuzz::CachedLevenshtein< CharT1 >::normalized_similarity | ( | InputIt2 | first2, |
InputIt2 | last2, | ||
double | score_cutoff = 0.0 |
||
) | const |
int64_t rapidfuzz::CachedLevenshtein< CharT1 >::similarity | ( | const Sentence2 & | s2, |
int64_t | score_cutoff = 0 |
||
) | const |
int64_t rapidfuzz::CachedLevenshtein< CharT1 >::similarity | ( | InputIt2 | first2, |
InputIt2 | last2, | ||
int64_t | score_cutoff = 0 |
||
) | const |