Abstract interface for a class implementing string (Word) similarity measure. More...
#include <SimilarityMeasures.h>
Public Member Functions | |
virtual double | measure (const Word &w1, const Word &w2) const =0 |
Returns a distance (measure) between two words. |
Abstract interface for a class implementing string (Word) similarity measure.
Definition at line 87 of file SimilarityMeasures.h.
virtual double StringSimilarityMeasure::measure | ( | const Word & | w1, | |
const Word & | w2 | |||
) | const [pure virtual] |
Returns a distance (measure) between two words.
w1 | - the first word | |
w2 | - the second word |
Implemented in HammingDistance, HammingDistanceCyclic, SubwordHammingDistanceCyclic, EditingDistance, and SubwordEditingDistanceCyclic.