Lines Matching refs:word
28 static int metaphone(unsigned char *word, int word_len, long max_phonemes, char **phoned_word, int …
112 #define Next_Letter (toupper(word[w_idx+1]))
114 #define Curr_Letter (toupper(word[w_idx]))
116 #define Look_Back_Letter(n) (w_idx >= n ? toupper(word[w_idx-n]) : '\0')
120 #define After_Next_Letter (Next_Letter != '\0' ? toupper(word[w_idx+2]) \
122 #define Look_Ahead_Letter(n) (toupper(Lookahead(word+w_idx, n)))
127 static char Lookahead(char *word, int how_far) in Lookahead() argument
131 for (idx = 0; word[idx] != '\0' && idx < how_far; idx++); in Lookahead()
134 letter_ahead = word[idx]; /* idx will be either == to how_far or in Lookahead()
167 static int metaphone(unsigned char *word, int word_len, long max_phonemes, char **phoned_word, int … in metaphone() argument
183 if (word == NULL) in metaphone()