| /nv-g11n/inputmethod/sunpinyin/slm/src/slm/ |
| sim_dict.cpp | 86 unsigned int id; local 107 for (id=0; *p >= '0' && *p <= '9'; ++p) 108 id = 10*id + (*p - '0'); 110 if (id < SIM_ID_REALWORD_START) 113 insertWord(wword, TSIMWordId(id)); 115 fprintf(stderr, "mbs to wcs conversion error for : %s %d\n", buf, id); 130 void CSIMDict::insertWord(const TWCHAR* wstr, TSIMWordId id) 135 TSIMWordId nodeId = (*wstr)?SIM_ID_NOT_WORD:id;
|
| sim_slm.h | 53 TSIMWordId id; member in struct:CSIMSlm::TLeaf 59 TLeaf(TSIMWordId theId=0, FREQ_TYPE fr=0) : id(theId), freq(fr) 62 { return id < r.id; } 64 { return id > r.id; } 66 { return id == r.id; } 121 _NodeT_* binary_find_id(_NodeT_ *ph, _NodeT_* pt, TSIMWordId id) 127 if (pm->id == id [all...] |
| /nv-g11n/inputmethod/sunpinyin2/src/slm/ |
| sim_dict.cpp | 86 unsigned int id; local 107 for (id=0; *p >= '0' && *p <= '9'; ++p) 108 id = 10*id + (*p - '0'); 110 if (id < SIM_ID_REALWORD_START) 113 insertWord(wword, TSIMWordId(id)); 115 fprintf(stderr, "mbs to wcs conversion error for : %s %d\n", buf, id); 130 void CSIMDict::insertWord(const TWCHAR* wstr, TSIMWordId id) 135 TSIMWordId nodeId = (*wstr)?SIM_ID_NOT_WORD:id;
|
| sim_slm.h | 53 TSIMWordId id; member in struct:CSIMSlm::TLeaf 59 TLeaf(TSIMWordId theId=0, FREQ_TYPE fr=0) : id(theId), freq(fr) 62 { return id < r.id; } 64 { return id > r.id; } 66 { return id == r.id; } 121 _NodeT_* binary_find_id(_NodeT_ *ph, _NodeT_* pt, TSIMWordId id) 127 if (pm->id == id [all...] |
| /nv-g11n/inputmethod/sunpinyin2/src/pinyin/ |
| syllable.h | 88 unsigned id; member in struct:_TPyTabEntry
|
| /nv-g11n/inputmethod/sunpinyin/ime/src/lexicon/ |
| pytrie.cpp | 149 unsigned int id = pwids[i].m_id; local 150 const TWCHAR *pw = operator[](id); 152 if (len != lengthAt(id)) { 153 printf(" (lengthAt %d error) ", id);
|
| /nv-g11n/inputmethod/sunpinyin/slm/src/lexicon/ |
| pytrie.cpp | 149 unsigned int id = pwids[i].m_id; local 150 const TWCHAR *pw = operator[](id); 152 if (len != lengthAt(id)) { 153 printf(" (lengthAt %d error) ", id);
|
| pytrie_gen.cpp | 71 insertWordId(CPinyinTrieMaker::CWordSet& idset, CPinyinTrieMaker::TWordId id) 73 CPinyinTrieMaker::CWordSet::iterator it = idset.find(id); 75 idset.insert(id); 78 if ((a.anony.m_bHide && !id.anony.m_bHide) || (a.anony.m_bHide == id.anony.m_bHide && a.anony.m_cost > id.anony.m_cost)) { 80 idset.insert(id); 149 parseLine(char* buf, char* word_buf, int& id, std::set<TSyllableInfo>& pyset) 167 id = atoi(p); 201 ?????????????????? ??????????????????????????????????????????word id??? 213 int id; local [all...] |
| /nv-g11n/inputmethod/sunpinyin/slm/src/slm/getWordFreq/ |
| getWordFreq.cpp | 107 int id = atoi(idstr); local 108 if (id > 0) { 110 double neglogpr = slm.transfer(st, (unsigned int)id, st);
|
| /nv-g11n/inputmethod/sunpinyin2/src/ime-core/ |
| userdict.cpp | 108 char sql[256] = "DELETE FROM dict WHERE id="; 150 sql_str = sqlite3_mprintf("SELECT id, utf8str FROM dict WHERE len=%i%q%q%q;", 160 unsigned id = 0; local 166 id = sqlite3_column_int (stmt, 0); 169 if (id >= MAX_USRDEF_WID - INI_USRDEF_WID) 175 word.m_id = id + INI_USRDEF_WID; 180 m_dict.insert (std::make_pair (id, wstring(cwstr))); 206 sprintf (sql_str, "SELECT utf8str FROM dict WHERE id=%d;", wid); 238 id INTEGER PRIMARY KEY, len INTEGER, \
|
| /nv-g11n/inputmethod/sunpinyin2/src/lexicon/ |
| pytrie.cpp | 127 unsigned int id = pwids[i].m_id; local 128 const TWCHAR *pw = operator[](id); 130 if (len != lengthAt(id)) { 131 printf(" (lengthAt %d error) ", id);
|
| pytrie_gen.cpp | 35 insertWordId(CPinyinTrieMaker::CWordSet& idset, CPinyinTrieMaker::TWordId id) 37 CPinyinTrieMaker::CWordSet::const_iterator it = idset.find(id); 39 idset.insert(id); 42 if ((a.anony.m_bHide && !id.anony.m_bHide) || (a.anony.m_bHide == id.anony.m_bHide && a.anony.m_cost > id.anony.m_cost)) { 44 idset.insert(id); 113 parseLine(char* buf, char* word_buf, int& id, std::set<TSyllableInfo>& pyset) 131 id = atoi(p); 162 ?????????????????? ??????????????????????????????????????????word id??? 174 int id; local [all...] |
| /nv-g11n/inputmethod/sunpinyin2/src/slm/getWordFreq/ |
| getWordFreq.cpp | 107 int id = atoi(idstr); local 108 if (id > 0) { 110 double neglogpr = slm.transfer(st, (unsigned int)id, st);
|
| /nv-g11n/inputmethod/sunpinyin/slm/src/slm/tslminfo/ |
| tslminfo.cpp | 156 printf(" -l dict_file # Lexicon. Valid under -v option. Substitute the word-id with word-text in the output.\n"); 203 static unsigned int id; local 222 for (id=0; *p >= '0' && *p <= '9'; ++p) 223 id = 10*id + (*p - '0'); 224 (*plexicon)[id] = std::string(word);
|
| /nv-g11n/inputmethod/sunpinyin2/src/slm/tslminfo/ |
| tslminfo.cpp | 156 printf(" -l dict_file # Lexicon. Valid under -v option. Substitute the word-id with word-text in the output.\n"); 203 static unsigned int id; local 222 for (id=0; *p >= '0' && *p <= '9'; ++p) 223 id = 10*id + (*p - '0'); 224 (*plexicon)[id] = std::string(word);
|
| /nv-g11n/g11n/src/cmd/fsexam/src/ |
| fsexam-encoding-dialog.c | 49 * - convert encoding to id 119 id2encoding (short id) 121 if ((id < max_length) && (id >= 0)) 122 return encodings[id].charset; 124 g_print (_("Warning: The encoding id %d is greater than max length %d.\n"), 125 id, 191 gint id = -1; local 193 id = encoding2id (encoding); 195 if (id != -1 [all...] |
| fsexam-tree.h | 44 short id; //encoding ID, -1 for illegal value member in struct:_TreeNode 65 #define TREENODE_GET_ID(tnode) ((tnode)->id) 79 #define TREENODE_SET_ID(tnode, _id) ((tnode)->id = (short)(_id))
|
| /nv-g11n/inputmethod/sunpinyin/slm/src/slm/slmprune/ |
| slmprune.cpp | 177 hw[lvl] = (((TLeaf*)level[lvl])+idx[lvl])->id; 179 hw[lvl] = (((TNode*)level[lvl])+idx[lvl])->id; 185 hw[j] = pnode->id; 241 words[lvl+1] = chh->id; 262 words[lvl] = base[lvl][idx[lvl]].id; 266 words[k] = base[k][idx[k]].id; 309 assert(w == (((TLeaf*)level[lvl])+idx[lvl])->id); 315 assert(w == (((TNode*)level[lvl])+idx[lvl])->id); 327 TSIMWordId id; local 333 id = (((TLeaf*)level[lvl])+h)->id [all...] |
| /nv-g11n/inputmethod/sunpinyin/slm/src/slm/tslmpack/ |
| slmpack.cpp | 218 int id; local 219 for (id=0; *p >= '0' && *p <= '9'; ++p) 220 id = 10*id + (*p - '0'); 221 lexicon[std::string(word)] = id;
|
| /nv-g11n/inputmethod/sunpinyin2/src/slm/slmprune/ |
| slmprune.cpp | 177 hw[lvl] = (((TLeaf*)level[lvl])+idx[lvl])->id; 179 hw[lvl] = (((TNode*)level[lvl])+idx[lvl])->id; 185 hw[j] = pnode->id; 241 words[lvl+1] = chh->id; 262 words[lvl] = base[lvl][idx[lvl]].id; 266 words[k] = base[k][idx[k]].id; 309 assert(w == (((TLeaf*)level[lvl])+idx[lvl])->id); 315 assert(w == (((TNode*)level[lvl])+idx[lvl])->id); 327 TSIMWordId id; local 333 id = (((TLeaf*)level[lvl])+h)->id [all...] |
| /nv-g11n/inputmethod/sunpinyin2/src/slm/tslmpack/ |
| slmpack.cpp | 218 int id; local 219 for (id=0; *p >= '0' && *p <= '9'; ++p) 220 id = 10*id + (*p - '0'); 221 lexicon[std::string(word)] = id;
|
| /nv-g11n/g11n/src/openwin/lib/locale/iso8859-1/ |
| omEuro.c | 96 int id; member in struct:_FontSetRec 345 font_set->id = 1; [all...] |
| /nv-g11n/g11n/src/openwin/include/ |
| Xlcint.h | 145 unsigned short id; /* Input Method Protocol */ member in struct:__anon166
|
| /nv-g11n/g11n/src/openwin/lib/locale/iso8859-1/src/lib/X11/ |
| Xlcint.h | 145 unsigned short id; /* Input Method Protocol */ member in struct:__anon183
|
| /nv-g11n/inputmethod/sunpinyin/ime/iiim/cle/ |
| ime.h | 207 int id; ///< ??? maybe not needed??? member in struct:__anon307 295 ImmTriggerType trigger; ///< id represented different notification, see 394 int param; ///< encoding id 405 int param; ///< encoding id
|