liblevenshtein
4.0.0
A library for generating Finite State Transducers based on Levenshtein Automata.
Loading...
Searching...
No Matches
distance.cpp
Go to the documentation of this file.
1
#include "
liblevenshtein/distance/distance.h
"
2
3
namespace
liblevenshtein::distance
{
4
5
auto
Distance::operator()
(
const
std::string &
v
,
const
std::string &
w
)
6
-> std::size_t {
7
return
between(
v
,
w
);
8
}
9
10
}
// namespace liblevenshtein::distance
liblevenshtein::distance::Distance::operator()
auto operator()(const std::string &v, const std::string &w) -> std::size_t
Measures the edit distance between two terms.
Definition
distance.cpp:5
distance.h
query
void query(ll::Dawg *dawg, const std::string &query_term, std::size_t max_distance)
Definition
main.cpp:25
liblevenshtein::distance
Memoized, recursive distance metrics typically used to evaluate the correctness of Levenshtein automa...
Definition
namespaces.dox:16
src
liblevenshtein
distance
distance.cpp
Generated by
1.10.0