A class for computing the Levenstein distance between two words. More...
#include <Levenstein.h>
Public Member Functions | |
| Levenstein () | |
| int | compute (const Word &w1, const Word &w2) |
| Computes the Levenstein distance between two words. | |
Private Member Functions | |
| char * | wordToString (const Word &) |
A class for computing the Levenstein distance between two words.
Converts words to strings (char*) and then calls a known string algorithm.
Definition at line 30 of file Levenstein.h.
| Levenstein::Levenstein | ( | ) | [inline] |
Definition at line 40 of file Levenstein.h.
Computes the Levenstein distance between two words.
| w1 | - first word. | |
| w2 | - second word |
| char* Levenstein::wordToString | ( | const Word & | ) | [private] |
1.6.1