liblevenshtein 4.0.0
A library for generating Finite State Transducers based on Levenshtein Automata.
Loading...
Searching...
No Matches
comparator.cpp File Reference
Include dependency graph for comparator.cpp:

Go to the source code of this file.

Namespaces

namespace  liblevenshtein
 Various utilities regarding Levenshtein transducers.
 

Functions

template<>
auto liblevenshtein::compare< Algorithm::STANDARD > (Position *lhs, Position *rhs) -> int
 Compares two Positions for the standard Levenshtein transducer.
 
template<>
auto liblevenshtein::compare< Algorithm::TRANSPOSITION > (Position *lhs, Position *rhs) -> int
 Compares two Positions for the standard Levenshtein transducer extended with transposition.
 
template<>
auto liblevenshtein::compare< Algorithm::MERGE_AND_SPLIT > (Position *lhs, Position *rhs) -> int
 Compares two Positions for the standard Levenshtein transducer extended with merge and split.