Home | History | Annotate | Download | only in src

Lines Matching full:word

93 SWIsltsResult lts_for_word(LTS *lts, char *word, int word_len, char **output_phone_string, int max_phone_length, int *num_out);
1008 unsigned char word[MAX_WORD_LEN];
1060 if (dp->properties[ Left1+j] == LTS_MAXCHAR) { /*assume an unknown character is a word boundary*/
1079 if (dp->properties[ Right1+j] == LTS_MAXCHAR) { /*assume an unknown character is a word boundary*/
1091 /*pfprintf(PSTDOUT,"word stuff\n"); */
1093 /*find word start and end - use unknown character as word boundaries*/
1102 word[i] = find_letter_index(input_word[i], lm);
1105 /*figure out syllable in word - not really syllables - just looks to see if is or at first or last vowel*/
1110 if (lm->type[word[i]] == 1) {
1112 if (lm->type[word[j]] != 1) break;
1120 if (lm->type[word[i]] == 1) {
1122 if (lm->type[word[j]] != 1) break;
1139 if (lm->type[word[i]] == 1) {
1141 if (lm->type[word[j]] != 1) break;
1144 if (lm->type[word[j]] == 1) break;
1152 if (lm->type[word[i]] == 1) {
1154 if (lm->type[word[j]] != 1) break;
1157 if (lm->type[word[j]] == 1) break;
1175 if (lm->type[word[i]] == 1) {
1177 if (lm->type[word[j]] != 1) break;
1185 if (lm->type[word[i]] == 1) {
1187 if (lm->type[word[j]] != 1) break;
1204 if (lm->type[word[i]] == 1) {
1206 if (lm->type[word[j]] != 1) break;
1209 if (lm->type[word[j]] == 1) break;
1217 if (lm->type[word[i]] == 1) {
1219 if (lm->type[word[j]] != 1) break;
1222 if (lm->type[word[j]] == 1) break;
1244 pfprintf(PSTDOUT,"input word %s num_strings %d\n", input_word, lts->num_strings);
1257 pfprintf(PSTDOUT,"%c", lm->letters[word[i]]);
1423 break; /*don't push syl boundaries before word boundaries*/
1492 /* word boundary must be followed by syllable boundary
1493 if no syllable boundary exists after a word boundary, move the first
1494 syllable boundary to after the word boundary */
1512 /* swap entries until syl bound reaches word bound */
1517 /* put syllable boundary after word boundary */
1531 SWIsltsResult lts_for_word(LTS *lts, char *word, int word_len, char **output_phone_string, int max_phone_length, int *pnum_out)
1597 if (fill_up_dp_for_letter(lts, word, word_len, i, root_start, root_end, left_phone)) continue;
1611 pfprintf(PSTDOUT,"GOT INPUT %s for %s letter %c\n", lts->input_for_output[output_index], word, word[i]);
1630 if (input_seq[j-(i+1)] != word[j]) {
1677 char word[MAX_WORD_LEN];
1690 /*add a phrase start then word start at beginning*/
1707 /* Treat hyphen as word delimiter. Not quite right for German
1717 word[num_in_word] = '\0';
1722 pfprintf(PSTDOUT,"Did not find %s in dictionary\n", word);
1725 nRes = lts_for_word(lts, word, num_in_word, output_phone_string, max_phone_length, &num_out);
1750 word[num_in_word] = '\0';
1753 nRes = lts_for_word(lts, word, num_in_word, output_phone_string, max_phone_length, &num_out);
1770 word[num_in_word++] = toupper(input_sentence[i]);