/external/svox/pico/lib/ |
H A D | picoklex.h | 90 picoos_uint8 nrres; /* number of results, 0 of no entry found */ 91 picoos_uint8 posindlen; /* number of posind bytes */ 92 picoos_uint8 phonfound; /* phones found flag, TRUE if found */ 93 picoos_uint8 posind[PICOKLEX_POSIND_MAXLEN]; /* sequence of multi-ind, 109 picoos_uint8 picoklex_lexLookup(const picoklex_Lex this, 110 const picoos_uint8 *graph, 117 picoos_uint8 picoklex_lexIndLookup(const picoklex_Lex this, 118 const picoos_uint8 *ind, 119 const picoos_uint8 indlen, 120 picoos_uint8 *po [all...] |
H A D | picokpdf.h | 101 picoos_uint8 vecsize; 102 picoos_uint8 sampperframe; 103 picoos_uint8 phonquantlen; 104 picoos_uint8 *phonquant; 105 picoos_uint8 statequantlen; 106 picoos_uint8 *statequant; 107 picoos_uint8 *content; 113 picoos_uint8 vecsize; 114 picoos_uint8 numstates; 116 picoos_uint8 ceporde [all...] |
H A D | picobase.h | 44 typedef picoos_uint8 picobase_utf8char[PICOBASE_UTF8_MAXLEN+1]; /* always zero terminated */ 45 typedef picoos_uint8 picobase_utf8; 63 picoos_int32 picobase_utf8_length(const picoos_uint8 *utf8str, 75 /* picoos_uint8 picobase_det_utf8_length(const picoos_uint8 firstchar); */ 77 #define picobase_det_utf8_length(x) ( ((x)<(picoos_uint8)'\200')?1:(((x)>=(picoos_uint8)'\370')?0:(((x)>=(picoos_uint8)'\360')?4:(((x)>=(picoos_uint8)'\340')?3:(((x)>=(picoos_uint8)'\30 [all...] |
H A D | picokdt.h | 118 picoos_uint8 set; /* TRUE if class set, FALSE otherwise */ 127 picoos_uint8 nr; /* 0 if no class set, nr of values set otherwise */ 169 #define PICOKDT_OUTSIDEGRAPH_DEFCH (picoos_uint8)'\x30' /* ascii "0" */ 170 #define PICOKDT_OUTSIDEGRAPH_DEFSTR (picoos_uint8 *)"\x30" /* ascii "0" */ 177 #define PICOKDT_OUTSIDEGRAPH_EOW_DEFCH (picoos_uint8)'\x31' /* ascii "1" */ 178 #define PICOKDT_OUTSIDEGRAPH_EOW_DEFSTR (picoos_uint8 *)"\x31" /* ascii "1" */ 211 picoos_uint8 picokdt_dtPosPconstructInVec(const picokdt_DtPosP this, 212 const picoos_uint8 *graph, 214 const picoos_uint8 specgraphflag); 220 picoos_uint8 picokdt_dtPosPclassif [all...] |
H A D | picoktab.h | 59 picoos_uint8 phonStartId; 60 picoos_uint8 phonTermId; 92 picoos_uint8 picoktab_hasVowellikeProp(const picoktab_Graphs this, 93 const picoos_uint8 *graph, 94 const picoos_uint8 graphlenmax); 100 picoos_uint8 *stokenType); 118 picoos_uint8 *info1, 119 picoos_uint8 *info2); 124 picoos_uint8 * propset, 125 picoos_uint8 * stokenTyp [all...] |
H A D | picokdbg.h | 68 picoos_uint8 picokdbg_getPhoneId(const picokdbg_Dbg dbg, 75 const picoos_uint8 phid);
|
H A D | picodata.h | 105 picoos_uint8 type; 106 picoos_uint8 info1; 107 picoos_uint8 info2; 108 picoos_uint8 len; 302 picoos_uint8 *buf, const picoos_uint16 blenmax, 314 picoos_uint8 *buf, const picoos_uint16 blenmax, 325 const picoos_uint8 *buf, const picoos_uint16 blenmax, 329 picoos_uint8 picodata_cbGetFrontItemType(register picodata_CharBuffer this); 336 picoos_uint8 is_valid_itemtype(const picoos_uint8 c [all...] |
H A D | picobase.c | 52 picoos_int32 picobase_utf8_length(const picoos_uint8 *utf8str, 57 picoos_uint8 follow; 58 picoos_uint8 ok; 66 if ((utf8str[i] >= (picoos_uint8)'\200') && 67 (utf8str[i] < (picoos_uint8)'\300')) { 72 } else if (utf8str[i] < (picoos_uint8)'\200') { 74 } else if (utf8str[i] >= (picoos_uint8)'\370') { 76 } else if (utf8str[i] >= (picoos_uint8)'\360') { 79 } else if (utf8str[i] >= (picoos_uint8)'\340') { 82 } else if (utf8str[i] >= (picoos_uint8)'\30 [all...] |
H A D | picokpr.c | 113 typedef picoos_uint8 picokpr_Str[KPR_STR_SIZE]; 115 typedef picoos_uint8 picokpr_AttrVal[KPR_ATTRVAL_SIZE]; 116 typedef picoos_uint8 picokpr_OutItem[KPR_OUTITEM_SIZE]; 117 typedef picoos_uint8 picokpr_Tok[KPR_TOK_SIZE]; 118 typedef picoos_uint8 picokpr_Prod[KPR_PROD_SIZE]; 119 typedef picoos_uint8 picokpr_Ctx[KPR_CTX_SIZE]; 153 picoos_uint8 * rStrArr; 163 static picoos_uint32 kpr_getUInt32(picoos_uint8 * p) 276 picoos_uint8 * p = (picoos_uint8 *) [all...] |
H A D | picoklex.c | 143 picoos_uint8 *searchind; 144 picoos_uint8 *lexblocks; 263 const picoos_uint8 *graphsi) { 358 static picoos_int8 klex_lexMatch(picoos_uint8 *lexentry, 359 const picoos_uint8 *graph, 361 picoos_uint8 i; 362 picoos_uint8 lexlen; 363 picoos_uint8 *lexgraph; 386 static void klex_setLexResult(const picoos_uint8 *lexentry, 389 picoos_uint8 [all...] |
H A D | picoktab.c | 182 #define KTAB_GRAPH_PROPSET_TO ((picoos_uint8)'\x01') 183 #define KTAB_GRAPH_PROPSET_TOKENTYPE ((picoos_uint8)'\x02') 184 #define KTAB_GRAPH_PROPSET_TOKENSUBTYPE ((picoos_uint8)'\x04') 185 #define KTAB_GRAPH_PROPSET_VALUE ((picoos_uint8)'\x08') 186 #define KTAB_GRAPH_PROPSET_LOWERCASE ((picoos_uint8)'\x010') 187 #define KTAB_GRAPH_PROPSET_GRAPHSUBS1 ((picoos_uint8)'\x020') 188 #define KTAB_GRAPH_PROPSET_GRAPHSUBS2 ((picoos_uint8)'\x040') 189 #define KTAB_GRAPH_PROPSET_PUNCT ((picoos_uint8)'\x080') 198 picoos_uint8 * offsetTable; 199 picoos_uint8 * graphTabl [all...] |
H A D | picoos.h | 54 typedef picopal_uint8 picoos_uint8; typedef 93 void * picoos_mem_set(void * dest, picoos_uint8 byte_val, picoos_objsize_t length); 102 void picoos_get_sep_part_str (picoos_char string[], picoos_int32 stringlen, picoos_int32 * ind, picoos_char sepCh, picoos_char part[], picoos_int32 maxsize, picoos_uint8 * done); 243 picoos_uint8 picoos_emGetNumOfWarnings(picoos_ExceptionManager this); 245 pico_status_t picoos_emGetWarningCode(picoos_ExceptionManager this, picoos_uint8 warnNum); 247 void picoos_emGetWarningMessage(picoos_ExceptionManager this, picoos_uint8 warnNum, picoos_char * msg, picoos_uint16 maxsize); 273 picoos_uint8 picoos_OpenBinary(picoos_Common g, picoos_File * f, picoos_char name[]); 277 picoos_uint8 picoos_ReadByte(picoos_File f, picoos_uint8 * by); 283 picoos_uint8 picoos_ReadByte [all...] |
H A D | picodata.c | 52 const picoos_uint8 *buf, const picoos_uint16 blenmax, 56 picoos_uint8 *buf, const picoos_uint16 blenmax, 57 picoos_uint16 *blen, const picoos_uint8 issd); 82 const picoos_uint8 *buf, const picoos_uint16 blenmax, 86 picoos_uint8 *buf, const picoos_uint16 blenmax, 87 picoos_uint16 *blen, const picoos_uint8 issd); 177 picoos_uint8 *buf, const picoos_uint16 blenmax, 178 picoos_uint16 *blen, const picoos_uint8 issd) 192 *blen = PICODATA_ITEM_HEADSIZE + (picoos_uint8)(this->buf[((this->front) + 236 buf[i] = (picoos_uint8)(thi [all...] |
H A D | picokdbg.c | 69 picoos_uint8 *phonesyms; 125 picoos_uint8 picokdbg_getPhoneId(const picokdbg_Dbg this, 138 return (picoos_uint8)i; 145 const picoos_uint8 phid) {
|
H A D | picotrns.h | 78 picoos_uint8 picotrns_unplane(picoos_int16 symIn, picoos_uint8 * plane); 174 pico_status_t picotrns_stAddWithPlane(picotrns_SimpleTransducer this, picoos_char * inStr, picoos_uint8 plane); 180 picoos_uint8 * outputSymIds,
|
H A D | picopam.c | 151 picoos_uint8 procState; /* where to take up work at next processing step */ 152 picoos_uint8 retState; /* where to go back from feed state at next p.s. */ 153 picoos_uint8 needMoreInput; /* more data necessary to start processing */ 155 picoos_uint8 inBuf[PICOPAM_IN_BUFF_SIZE]; /* internal input buffer */ 159 picoos_uint8 outBuf[PICOPAM_OUT_PAM_SIZE]; /* internal output buffer */ 163 picoos_uint8 *sPhFeats; /*feature vector for a single phone */ 166 picoos_uint8 *sPhIds; /*phone ids for the full sentence */ 167 picoos_uint8 *sSyllItems; /*items attached to the syllable */ 175 picoos_uint8 nLastAttachedItemId;/*last attached item id*/ 176 picoos_uint8 nCurrAttachedIte [all...] |
H A D | picokdt.c | 243 picoos_uint8 *inpmaptable; 244 picoos_uint8 *outmaptable; 245 picoos_uint8 *tree; 249 picoos_uint8 *vfields; 250 picoos_uint8 *qfields; 251 picoos_uint8 nrattributes; 252 picoos_uint8 *treebody; 253 /*picoos_uint8 nrvfields;*/ /* fix PICOKDT_NODEINFO_NRVFIELDS */ 254 /*picoos_uint8 nrqfields;*/ /* fix PICOKDT_NODEINFO_NRQFIELDS */ 257 picoos_uint8 dse [all...] |
H A D | picocep.c | 162 picoos_uint8 procState; /* where to take up work at next processing step */ 164 /* picoos_uint8 force; *//* forced processing (needMoreData but buffers full */ 165 picoos_uint8 sentenceEnd; 166 picoos_uint8 feedFollowState; 169 picoos_uint8 inBuf[PICODATA_MAX_ITEMSIZE]; /* internal input buffer */ 178 picoos_uint8 cbuf[PICOCEP_MAXSIZE_CBUF]; 184 picoos_uint8 outBuf[PICODATA_MAX_ITEMSIZE]; /* internal output buffer (one item) */ 210 picoos_uint8 phoneId[PICOCEP_MAXWINLEN]; /* synchronised with indexReadPos */ 218 picoos_uint8 * outVoiced; 247 picoos_uint8 cepnu [all...] |
H A D | picoacph.c | 127 picoos_uint8 boundstrength; /* bstrength to the left, 0 if not set */ 128 picoos_uint8 boundtype; /* btype for following phrase, 0 if not set */ 133 picoos_uint8 procState; /* for next processing step decision */ 134 picoos_uint8 boundStrengthState; /* boundary strength state */ 136 picoos_uint8 inspaceok; /* flag: headx/cbuf has space for an item */ 137 picoos_uint8 needsmoreitems; /* flag: need more items */ 139 picoos_uint8 tmpbuf[PICODATA_MAX_ITEMSIZE]; /* tmp. location for an item */ 145 picoos_uint8 cbuf[PICOACPH_MAXSIZE_CBUF]; 328 static picoos_uint8 acphGetNrSylls(register picodata_ProcessingUnit this, 331 picoos_uint8 [all...] |
H A D | picowa.c | 55 picoos_uint8 procState; /* for next processing step decision */ 58 picoos_uint8 inBuf[PICOWA_MAXITEMSIZE]; /* internal input buffer */ 62 picoos_uint8 outBuf[PICOWA_MAXITEMSIZE]; /* internal output buffer */ 70 picoos_uint8 numUlex; 82 picoos_uint8 i; 192 static picoos_uint8 waClassifyPos(register picodata_ProcessingUnit this, 194 const picoos_uint8 *graph, 197 picoos_uint8 specchar; 243 return (picoos_uint8)dtres.class; 256 const picoos_uint8 *conten [all...] |
H A D | picospho.c | 155 picoos_uint8 boundstrength; /* bstrength to the left, 0 if not set */ 156 picoos_uint8 phrasetype; /* btype for following phrase, 0 if not set */ 173 picoos_uint8 procState; /* for next processing step decision */ 176 picoos_uint8 tmpbuf[PICODATA_MAX_ITEMSIZE]; /* tmp. location for an item */ 182 picoos_uint8 cbuf[SPHO_MAXSIZE_CBUF]; 186 picoos_uint8 outBuf[PICODATA_BUFSIZE_DEFAULT]; /* internal output buffer to hold just one item */ 192 picoos_uint8 sylBuf[255]; /* internal buffer to hold contents of syl item to be output */ 193 picoos_uint8 sylReadPos, sylWritePos; /* next pos to read from sylBuf, next pos to write to sylBuf */ 212 picoos_uint8 lastPhraseType; /* phrase type of the last phrase boundary, 0 if not set */ 214 picoos_uint8 needMoreInpu [all...] |
H A D | picosa.c | 184 picoos_uint8 procState; /* for next processing step decision */ 186 picoos_uint8 inspaceok; /* flag: headx/cbuf1 has space for an item */ 187 picoos_uint8 needsmoreitems; /* flag: need more items */ 188 picoos_uint8 phonesTransduced; /* flag: */ 190 picoos_uint8 tmpbuf[PICODATA_MAX_ITEMSIZE]; /* tmp. location for an item */ 196 picoos_uint8 cbuf1[PICOSA_MAXSIZE_CBUF]; 200 picoos_uint8 cbuf2[PICOSA_MAXSIZE_CBUF]; 233 picoos_uint8 numUlex; 237 picoos_uint8 numFsts; 239 picoos_uint8 curFs [all...] |
H A D | picoknow.c | 65 picoos_uint8 id;
|
H A D | picotrns.c | 46 picoos_uint8 picotrns_unplane(picoos_int16 symIn, picoos_uint8 * plane) { 49 return (picoos_uint8) symIn; 52 return (picoos_uint8) (symIn & 0xFF); 58 void PICOTRNS_PRINTSYM1(picoknow_KnowledgeBase kbdbg, picoos_int16 insym, picoos_uint8 phonemic) 62 picoos_uint8 plane; 70 PICODBG_INFO_MSG((" %s", picokdbg_getPhoneSym(dbg, (picoos_uint8) sym))); 103 picoos_uint8 phonemic) { 212 picoos_uint8 vowelFound = FALSE; 227 while ((j < inSeqLen) && !picoktab_isSyllCarrier(phones,(picoos_uint8)inSe [all...] |
H A D | picokfst.c | 58 picoos_uint8 * fstStream; /* the byte stream base address */ 80 static void FixedBytesToUnsignedNum (picoos_uint8 * stream, picoos_uint8 nrBytes, picoos_uint32 * pos, picoos_uint32 * num) 94 static void FixedBytesToSignedNum (picoos_uint8 * stream, picoos_uint8 nrBytes, picoos_uint32 * pos, picoos_int32 * num) 116 static void BytesToNum (picoos_uint8 * stream, picoos_uint32 * pos, picoos_int32 * num) 247 extern picoos_uint8 picokfst_kfstGetTransductionMode(picokfst_FST this)
|