Home
last modified time | relevance | path

Searched refs:lexres (Results 1 – 3 of 3) sorted by relevance

/external/svox/pico/lib/
Dpicoklex.c388 picoklex_lexl_result_t *lexres) { in klex_setLexResult() argument
394 lexres->posind[0] = lexentry[lexentry[0] + 1]; in klex_setLexResult()
396 lexres->phonfound = FALSE; in klex_setLexResult()
397 lexres->posindlen = 1; in klex_setLexResult()
398 lexres->nrres = 1; in klex_setLexResult()
399 PICODBG_DEBUG(("result %d :G2P", lexres->nrres)); in klex_setLexResult()
401 i = lexres->nrres * (PICOKLEX_POSIND_SIZE); in klex_setLexResult()
402 lexres->posindlen += PICOKLEX_POSIND_SIZE; in klex_setLexResult()
403 lexres->phonfound = TRUE; in klex_setLexResult()
405 lexres->posind[i++] = lexentry[lexentry[0] + 1]; in klex_setLexResult()
[all …]
Dpicowa.c258 picoklex_lexl_result_t lexres; in waProcessWordgraph() local
281 found = picoklex_lexLookup(wa->ulex[i], content, head->len, &lexres); in waProcessWordgraph()
290 if (!found && !picoklex_lexLookup(wa->lex, content, head->len, &lexres)) { in waProcessWordgraph()
306 if (lexres.phonfound) { /* incl. ind-phone and possibly multi-ent. */ in waProcessWordgraph()
307 if (lexres.nrres > PICOKLEX_MAX_NRRES) { in waProcessWordgraph()
313 lexres.nrres = PICOKLEX_MAX_NRRES; in waProcessWordgraph()
316 if (lexres.nrres == 1) { in waProcessWordgraph()
317 head->info1 = lexres.posind[0]; in waProcessWordgraph()
321 for (i = 0; i < lexres.nrres; i++) { in waProcessWordgraph()
322 posbuf[i] = lexres.posind[i * PICOKLEX_POSIND_SIZE]; in waProcessWordgraph()
[all …]
Dpicoklex.h112 picoklex_lexl_result_t *lexres);