Lines Matching refs:inSeq
180 pico_status_t picotrns_eliminate_epsilons(const picotrns_possym_t inSeq[], picoos_uint16 inSeqLen, in picotrns_eliminate_epsilons() argument
187 if (PICOKFST_SYMID_EPS != inSeq[i].sym) { in picotrns_eliminate_epsilons()
189 outSeq[j].pos = inSeq[i].pos; in picotrns_eliminate_epsilons()
190 outSeq[j].sym = inSeq[i].sym; in picotrns_eliminate_epsilons()
200 static void insertSym(picotrns_possym_t inSeq[], picoos_uint16 pos, picoos_int16 sym) { in insertSym() argument
201 inSeq[pos].sym = sym; in insertSym()
202 inSeq[pos].pos = PICOTRNS_POS_INSERT; in insertSym()
208 const picotrns_possym_t inSeq[], const picoos_uint16 inSeqLen, in picotrns_trivial_syllabify() argument
227 while ((j < inSeqLen) && !picoktab_isSyllCarrier(phones,(picoos_uint8)inSeq[j].sym)) { in picotrns_trivial_syllabify()
228 if ((inSeq[j].sym == picoktab_getPrimstressID(phones)) in picotrns_trivial_syllabify()
229 || (inSeq[j].sym == picoktab_getPrimstressID(phones))) { in picotrns_trivial_syllabify()
230 PICODBG_TRACE(("j skipping stress symbol inSeq[%i].sym = %c", j, inSeq[j].sym)); in picotrns_trivial_syllabify()
231 accent = inSeq[j].sym; in picotrns_trivial_syllabify()
234 PICODBG_TRACE(("j skipping consonant inSeq[%i].sym = %c", j, inSeq[j].sym)); in picotrns_trivial_syllabify()
242 PICODBG_TRACE(("skipping inSeq[%i].sym = %c (stress)", i, inSeq[i].sym)); in picotrns_trivial_syllabify()
245 … PICODBG_TRACE(("copying inSeq[%i].sym = %c (consonant) into output buffer", i, inSeq[i].sym)); in picotrns_trivial_syllabify()
246 outSeq[out++] = inSeq[i++]; in picotrns_trivial_syllabify()
258 PICODBG_TRACE(("skipping inSeq[%i].sym = %c (stress)", i, inSeq[i].sym)); in picotrns_trivial_syllabify()
261 … PICODBG_TRACE(("copying inSeq[%i].sym = %c (consonant) into output buffer", i, inSeq[i].sym)); in picotrns_trivial_syllabify()
262 outSeq[out++] = inSeq[i++]; in picotrns_trivial_syllabify()
266 while ((i < inSeqLen) && picoktab_isSyllCarrier(phones,(picoos_uint8)inSeq[i].sym)) { in picotrns_trivial_syllabify()
267 … PICODBG_TRACE(("copying inSeq[%i].sym = %c (vowel) into output buffer", i, inSeq[i].sym)); in picotrns_trivial_syllabify()
268 outSeq[out++] = inSeq[i++]; in picotrns_trivial_syllabify()
273 …BG_TRACE(("copying inSeq[%i].sym = %c (consonant or stress) into output buffer", i, inSeq[i].sym)); in picotrns_trivial_syllabify()
274 outSeq[out++] = inSeq[i++]; in picotrns_trivial_syllabify()
296 const picotrns_possym_t inSeq[], picoos_uint16 inSeqLen, in GetNextAlternative() argument
312 inSym = inSeq[altDesc->inPos].sym; in GetNextAlternative()
318 (*outRefPos) = inSeq[altDesc->inPos].pos; in GetNextAlternative()
324 … picokfst_kfstStartPairSearch(fst,inSeq[altDesc->inPos].sym,& inSymFound,& altDesc->searchState); in GetNextAlternative()
329 PICOTRNS_PRINTSYM(NULL, inSeq[altDesc->inPos].sym); in GetNextAlternative()
346 (*outRefPos) = inSeq[altDesc->inPos].pos; in GetNextAlternative()
459 const picotrns_possym_t inSeq[], picoos_uint16 inSeqLen, in TransductionStep() argument
500 …GetNextAlternative(fst,& altDesc[tmpRecPos],inSeq,inSeqLen,& outSym,& outRefPos,& endFSTState,& ne… in TransductionStep()
540 outSeq[i].sym = inSeq[i].sym; in TransductionStep()
541 outSeq[i].pos = inSeq[i].pos; in TransductionStep()
563 const picotrns_possym_t inSeq[], picoos_uint16 inSeqLen, in picotrns_transduce() argument
578 PICODBG_INFO_MSG((" %d", inSeq[i].sym)); in picotrns_transduce()
581 PICOTRNS_PRINTSYMSEQ(NULL,inSeq,inSeqLen); in picotrns_transduce()
590 inSeq,inSeqLen,outSeq,outSeqLen,maxOutSeqLen,&finished); in picotrns_transduce()