|
Namespaces |
namespace | fuzzyphonetic |
Functions |
bool | fuzzyphonetic::is_legal_char (char ch) |
char | fuzzyphonetic::to_upper (char ch) |
| converts the char to upper case
|
bool | fuzzyphonetic::is_vowel (char ch) |
char | fuzzyphonetic::to_lower (char ch) |
| converts the char to lower case
|
bool | fuzzyphonetic::check_sub_string (const char *word, const char *pend, const char *ethalon, size_t len) |
bool | fuzzyphonetic::is_slavo_germanic (const char *word, size_t len) |
size_t | fuzzyphonetic::find_metaphone_distance (const metaphone_key &x, const metaphone_key &y, byte_allocator &tmp, size_t max_penalty) |
| finds the distance between the two metaphone keys
|
size_t | fuzzyphonetic::find_reflection_distance (const reflection_key &x, const reflection_key &y, byte_allocator &tmp, size_t max_penalty) |
| finds the distance between the two reflection keys
|
size_t | fuzzyphonetic::find_word_distance (const char *x, size_t xlen, const char *y, size_t ylen, byte_allocator &tmp, size_t max_penalty) |
| finds the distance between the two words
|
template<class T> |
size_t | fuzzyphonetic::metaphone_distance (const T *ax, size_t x, const T *ay, size_t y, byte_allocator &tmp, size_t max_penalty) |
| calculates the matrix distance
|
size_t | fuzzyphonetic::find_key_distance (const metaphone_key &x, const metaphone_key &y, byte_allocator &tmp) |
Variables |
const ub1_t | fuzzyphonetic::H_NOTE = 0 |
const ub1_t | fuzzyphonetic::TH_NOTE = 1 |
const ub1_t | fuzzyphonetic::F_NOTE = 2 |
const ub1_t | fuzzyphonetic::P_NOTE = 3 |
const ub1_t | fuzzyphonetic::T_NOTE = 4 |
const ub1_t | fuzzyphonetic::K_NOTE = 5 |
const ub1_t | fuzzyphonetic::S_NOTE = 6 |
const ub1_t | fuzzyphonetic::X_NOTE = 7 |
const ub1_t | fuzzyphonetic::B_NOTE = 8 |
const ub1_t | fuzzyphonetic::N_NOTE = 9 |
const ub1_t | fuzzyphonetic::L_NOTE = 10 |
const ub1_t | fuzzyphonetic::M_NOTE = 11 |
const ub1_t | fuzzyphonetic::W_NOTE = 12 |
const ub1_t | fuzzyphonetic::Y_NOTE = 13 |
const ub1_t | fuzzyphonetic::R_NOTE = 14 |
const ub1_t | fuzzyphonetic::J_NOTE = 15 |
const ub1_t | fuzzyphonetic::A_NOTE = 16 |
const ub1_t | fuzzyphonetic::legal_mask = 0x10 |
const ub1_t | fuzzyphonetic::metaphoneic_mask = 0x0F |
const ub1_t | fuzzyphonetic::lower_mask = 0x20 |
const ub1_t | fuzzyphonetic::vowel_mask = 0x40 |
static const ub1_t | fuzzyphonetic::metaphoneic_rules [256] |