liblevenshtein 4.0.0
A library for generating Finite State Transducers based on Levenshtein Automata.
Loading...
Searching...
No Matches
standard_distance.h
Go to the documentation of this file.
1#ifndef LIBLEVENSHTEIN_DISTANCE_STANDARD_DISTANCE_H
2#define LIBLEVENSHTEIN_DISTANCE_STANDARD_DISTANCE_H
3
4#include <string>
5
7
9
15public:
16 auto between(std::string v, std::string w) -> std::size_t override;
17};
18
19} // namespace liblevenshtein::distance
20
21#endif // LIBLEVENSHTEIN_DISTANCE_STANDARD_DISTANCE_H
Memoizes the distance between pairs of terms.
Computes the standard Levenshtein distance, which includes the elementary operations of insertion,...
auto between(std::string v, std::string w) -> std::size_t override
Measures the edit distance between two terms.
void query(ll::Dawg *dawg, const std::string &query_term, std::size_t max_distance)
Definition main.cpp:25
Memoized, recursive distance metrics typically used to evaluate the correctness of Levenshtein automa...