Lines Matching refs:phonWritePos
207 picoos_uint16 phonReadPos, phonWritePos; /* next pos to read from phonBufIn, next pos to write to phonBufIn */
465 PICODBG_TRACE(("adding %i/%i (%c on plane %i) at phonBuf[%i]",pos,sym,unshifted,plane,spho->phonWritePos));
466 if (2* PICOTRNS_MAX_NUM_POSSYM <= spho->phonWritePos) {
471 spho->phonBuf[spho->phonWritePos].pos = pos;
472 spho->phonBuf[spho->phonWritePos].sym = sym;
473 spho->phonWritePos++;
547 oldPos = spho->phonWritePos;
588 curPos = spho->phonWritePos;
636 j=spho->phonWritePos-1;
660 spho->phonWritePos = oldPos;
685 while ((spho->phonReadPos < spho->phonWritePos) && (PICOTRNS_POS_IGNORE == spho->phonBuf[spho->phonReadPos].pos)) {
689 if ((spho->phonReadPos < spho->phonWritePos)) {
974 spho->phonWritePos = 0;
1173 PICODBG_INFO(("PARSE returned from phoneme extraction with overflow, number of phonemes in phonBuf: %i; forced to TRANSDUCE", spho->phonWritePos));
1207 PICOTRNS_PRINTSYMSEQ(this->voice->kbArray[PICOKNOW_KBID_DBG], spho->phonBufOut, spho->phonWritePos);
1230 PICOTRNS_PRINTSYMSEQ(this->voice->kbArray[PICOKNOW_KBID_DBG], spho->phonBuf, spho->phonWritePos);
1235 picotrns_printSolution, spho->phonBuf, spho->phonWritePos, spho->phonBufOut,
1236 &spho->phonWritePos,
1243 PICODBG_INFO_MSG(("result of transduction: (output symbols: %i)", spho->phonWritePos));
1244 PICOTRNS_PRINTSYMSEQ(this->voice->kbArray[PICOKNOW_KBID_DBG], spho->phonBufOut, spho->phonWritePos);
1254 picotrns_eliminate_epsilons(spho->phonBufOut, spho->phonWritePos, spho->phonBuf,
1255 &spho->phonWritePos,4*PICOTRNS_MAX_NUM_POSSYM);