HomeSort by relevance Sort by last modified time
    Searched defs:it (Results 1 - 25 of 30) sorted by null

1 2

  /nv-g11n/inputmethod/sunpinyin/slm/src/slm/thread/
test_vc.cpp 87 std::map<float, int>::iterator it, ite = mapper.end(); local
88 for (it = mapper.begin(); it != ite; ++it) {
89 printf("%d of %15.12f ---> %d ---> %15.12f\n", values[it->first], it->first, it->second, table[it->second]);
slmthread.cpp 73 getIdString(TLevelIterator& it, std::vector<TSIMWordId>& history);
76 beginLevelIteration(int lvl, TLevelIterator& it);
79 next(TLevelIterator& it);
82 isEnd(TLevelIterator& it);
85 getNodePtr(TLevelIterator& it);
96 adjustIterator(TLevelIterator& it);
139 CSIMSlmWithIteration::getIdString(TLevelIterator& it, std::vector<TSIMWordId>& history)
142 for (int i=1, tmp_sz=it.m_history.size(); i < tmp_sz; ++i) {
143 int idx = it.m_history[i];
152 CSIMSlmWithIteration::beginLevelIteration(int lvl, TLevelIterator& it)
244 CSIMSlmWithIteration::TLevelIterator it; local
330 CSIMSlmWithIteration::TLevelIterator it; local
379 CSIMSlmWithIteration::TLevelIterator it; local
    [all...]
  /nv-g11n/inputmethod/sunpinyin2/src/slm/thread/
test_vc.cpp 87 std::map<float, int>::iterator it, ite = mapper.end(); local
88 for (it = mapper.begin(); it != ite; ++it) {
89 printf("%d of %15.12f ---> %d ---> %15.12f\n", values[it->first], it->first, it->second, table[it->second]);
slmthread.cpp 73 getIdString(TLevelIterator& it, std::vector<TSIMWordId>& history);
76 beginLevelIteration(int lvl, TLevelIterator& it);
79 next(TLevelIterator& it);
82 isEnd(TLevelIterator& it);
85 getNodePtr(TLevelIterator& it);
96 adjustIterator(TLevelIterator& it);
139 CSIMSlmWithIteration::getIdString(TLevelIterator& it, std::vector<TSIMWordId>& history)
142 for (int i=1, tmp_sz=it.m_history.size(); i < tmp_sz; ++i) {
143 int idx = it.m_history[i];
152 CSIMSlmWithIteration::beginLevelIteration(int lvl, TLevelIterator& it)
244 CSIMSlmWithIteration::TLevelIterator it; local
330 CSIMSlmWithIteration::TLevelIterator it; local
379 CSIMSlmWithIteration::TLevelIterator it; local
    [all...]
  /nv-g11n/inputmethod/sunpinyin/ime/src/
lattice_states.cpp 60 CLatticeStates::iterator it = m_LatticeNodes.begin(); local
62 for (; it != itEnd; ++it) {
63 it->print(prefix);
91 * but just let it be.
112 * ===> replace original node with new one, ironDown it
119 * ironDown it (0 on the heap)
122 * heap tail. bubbleUp it.
158 * it should go up in the heap until it goes to the to
    [all...]
ic_history.cpp 268 TUnigramPool::iterator it = m_unifreq.find(ug); local
269 if (it != m_unifreq.end()) {
270 freq = it->second;
282 TBigramPool::const_iterator it = m_bifreq.find(bg); local
283 if (it != m_bifreq.end())
284 freq = it->second;
293 TUnigramPool::iterator it = m_unifreq.find(ug); local
294 if (it != m_unifreq.end()) {
295 if (it->second > 1)
296 --(it->second)
310 TBigramPool::iterator it = m_bifreq.find(bg); local
    [all...]
imi_view.cpp 173 std::map<TWCHAR, TWCHAR>::const_iterator it = halfPunc2Full.find(key); local
174 if (it != halfPunc2Full.end()) {
177 return (m_bRightFullDblQuote)?(it->second):wc_RightDblQuote;
179 return it->second;
187 std::map<TWCHAR, TWCHAR>::const_iterator it = halfSimbol2Full.find(key); local
188 if (it != halfSimbol2Full.end())
189 return it->second;
imi_view_modern.cpp 153 // On ALT+SHIFT, switch CN/EN status, but return the key event back as we do not use it
305 CSkeletonIter it = ++CSkeletonIter(boneIt); local
306 m_pIC->modify(boneIt, it, dummyBoneList);
308 m_SyllBone = it;
340 for (CSkeletonIter it = m_pIC->getFirstBone(); it != ite; ++it)
341 bs += it->m_String;
391 CSkeletonIter it = m_SyllBone; local
392 m_pIC->getBestSentence(wstr, m_pIC->getSkeleton().begin(), it);
    [all...]
  /nv-g11n/inputmethod/sunpinyin/slm/src/slm/
sim_dict.cpp 48 for (Map_Type::iterator it=map.begin(), last=map.end(); it != last; ++it)
49 freeSubTree(it->second);
58 Map_Type::iterator it = root->follow->find(TSIMChar(wch)); local
59 if (it != root->follow->end())
60 return &(it->second);
140 Map_Type::iterator it = map.find(ch); local
141 if (it != map.end() && nodeId != SIM_ID_NOT_WORD &&
142 it->second.word_id != SIM_ID_NOT_WORD && it->second.word_id != nodeId)
164 Map_Type::iterator it, ite = pnode->follow->end(); local
    [all...]
sim_slmbuilder.cpp 78 // normally, c should not greater than 1.0, yet when cut-off is used, it could be so.
237 for (TNodeIterator it=v.begin(), ite=v.end(); it != ite; ++it) {
238 FREQ_TYPE freq = it->freq;
245 for (TLeafIterator it=v.begin(), ite=v.end(); it != ite; ++it) {
246 FREQ_TYPE freq = it->freq;
341 CSlmBuilder::TNodeIterator it = v.begin() local
    [all...]
  /nv-g11n/inputmethod/sunpinyin2/src/ime-core/
lattice_states.cpp 69 CSyllables::const_iterator it = m_syls.begin(); local
70 for (; it != m_syls.end(); ++it)
71 printf ("%x:%x:%x ", it->initial, it->final, it->tone);
95 * but just let it be.
116 * ===> replace original node with new one, ironDown it
123 * ironDown it (0 on the heap)
126 * heap tail. bubbleUp it
    [all...]
imi_funcobjs.cpp 154 CPunctClosingStates::iterator it = m_punctClosingSts.find (ch); local
155 if (it != m_punctClosingSts.end ()) {
156 if (it->second) ch |= 0x80000000;
157 it->second = !it->second;
userdict.cpp 80 CSyllables::iterator it = syllables.begin(); local
82 for (; it != ite; ++it) {
83 sqlite3_bind_int (stmt, i++, it->initial);
84 sqlite3_bind_int (stmt, i++, it->final);
85 sqlite3_bind_int (stmt, i++, it->tone);
202 std::map<unsigned, wstring>::const_iterator it = m_dict.find(wid); local
203 if (it != m_dict.end ())
204 return it->second.c_str ();
ic_history.cpp 313 TUnigramPool::iterator it = m_unifreq.find(ug); local
314 if (it != m_unifreq.end()) {
315 freq = it->second;
327 TBigramPool::const_iterator it = m_bifreq.find(bg); local
328 if (it != m_bifreq.end())
329 freq = it->second;
338 TUnigramPool::iterator it = m_unifreq.find(ug); local
339 if (it != m_unifreq.end()) {
340 if (it->second > 1)
341 --(it->second)
355 TBigramPool::iterator it = m_bifreq.find(bg); local
    [all...]
imi_view_classic.cpp 324 IPySegmentor::TSegmentVec::const_iterator it = segments.begin (); local
329 for (; it != ite; ++it, i+=l) {
330 l = it->m_len;
353 if ( it != ite -1 && !lattice[i+l+1].isSyllableSepFrame ()) {
506 std::vector<unsigned>::iterator it = best_path.begin(); local
510 for (; it != ite; ++it) {
511 if (lattice[*it].m_bwType & CLatticeFrame::USER_SELECTED)
512 m_pIC->cancelSelection (*it, false)
    [all...]
  /nv-g11n/inputmethod/sunpinyin2/src/slm/
sim_dict.cpp 48 for (Map_Type::iterator it=map.begin(), last=map.end(); it != last; ++it)
49 freeSubTree(it->second);
58 Map_Type::iterator it = root->follow->find(TSIMChar(wch)); local
59 if (it != root->follow->end())
60 return &(it->second);
140 Map_Type::iterator it = map.find(ch); local
141 if (it != map.end() && nodeId != SIM_ID_NOT_WORD &&
142 it->second.word_id != SIM_ID_NOT_WORD && it->second.word_id != nodeId)
164 Map_Type::iterator it, ite = pnode->follow->end(); local
    [all...]
sim_slmbuilder.cpp 78 // normally, c should not greater than 1.0, yet when cut-off is used, it could be so.
237 for (TNodeIterator it=v.begin(), ite=v.end(); it != ite; ++it) {
238 FREQ_TYPE freq = it->freq;
245 for (TLeafIterator it=v.begin(), ite=v.end(); it != ite; ++it) {
246 FREQ_TYPE freq = it->freq;
341 CSlmBuilder::TNodeIterator it = v.begin() local
    [all...]
  /nv-g11n/inputmethod/sunpinyin/ime/src/lexicon/
pytrie.cpp 178 std::map<wstring, unsigned>::const_iterator it; local
180 it = m_SimbolMap.find(wstring(wstr));
181 if (it != m_SimbolMap.end())
182 return it->second;
189 std::map<wstring, unsigned>::const_iterator it; local
191 it = m_SimbolMap.find(wstr);
192 if (it != m_SimbolMap.end())
193 return it->second;
  /nv-g11n/inputmethod/sunpinyin/slm/src/lexicon/
pytrie.cpp 178 std::map<wstring, unsigned>::const_iterator it; local
180 it = m_SimbolMap.find(wstring(wstr));
181 if (it != m_SimbolMap.end())
182 return it->second;
189 std::map<wstring, unsigned>::const_iterator it; local
191 it = m_SimbolMap.find(wstr);
192 if (it != m_SimbolMap.end())
193 return it->second;
  /nv-g11n/inputmethod/sunpinyin2/src/lexicon/
pytrie.cpp 35 std::map<wstring, unsigned>::const_iterator it; local
37 it = m_SymbolMap.find(wstring(wstr));
38 if (it != m_SymbolMap.end())
39 return it->second;
46 std::map<wstring, unsigned>::const_iterator it; local
48 it = m_SymbolMap.find(wstr);
49 if (it != m_SymbolMap.end())
50 return it->second;
  /nv-g11n/inputmethod/sunpinyin/slm/src/slm/tslminfo/
tslminfo.cpp 72 beginLevel(int lvl, iterator& it);
75 next(iterator& it) { ++(it.back()); adjustIterator(it); }
78 isEnd(iterator& it) { return (((it.back().getIdx()) + 1) == getLevelSize(it.back().getLevel())); }
107 adjustIterator(iterator& it);
111 CIterateThreadSlm::beginLevel(int lvl, iterator& it)
113 it.clear()
230 CIterateThreadSlm::iterator it; local
    [all...]
  /nv-g11n/inputmethod/sunpinyin2/src/slm/tslminfo/
tslminfo.cpp 72 beginLevel(int lvl, iterator& it);
75 next(iterator& it) { ++(it.back()); adjustIterator(it); }
78 isEnd(iterator& it) { return (((it.back().getIdx()) + 1) == getLevelSize(it.back().getLevel())); }
107 adjustIterator(iterator& it);
111 CIterateThreadSlm::beginLevel(int lvl, iterator& it)
113 it.clear()
230 CIterateThreadSlm::iterator it; local
    [all...]
  /nv-g11n/inputmethod/sunpinyin2/src/pinyin/
shuangpin_seg.cpp 86 std::string::const_iterator it = new_pystr.begin(); local
87 for (; it!= new_pystr.end(); ++it) {
88 unsigned tmp = _segmentor ((*it) & 0x7f);
133 std::string::const_iterator it = new_pystr.begin(); local
134 for (; it!= new_pystr.end(); ++it) {
135 unsigned tmp = _segmentor ((*it) & 0x7f);
179 std::string::const_iterator it = new_pystr.begin(); local
180 for (; it!= new_pystr.end(); ++it)
205 std::string::const_iterator it = new_pystr.begin(); local
218 TSegmentVec::iterator it = m_segs.begin(); local
    [all...]
pinyin_seg.cpp 75 CFuzzyMap::const_iterator it; local
76 for (it = m_fuzzyMap.lower_bound(i); it != m_fuzzyMap.upper_bound(i); ++it)
77 iset.push_back ((it->second).c_str());
79 for (it = m_fuzzyMap.lower_bound(f); it != m_fuzzyMap.upper_bound(f); ++it)
80 fset.push_back ((it->second).c_str());
98 CCorrectionPairVec::iterator it = m_correctionPairs.begin () local
184 std::string::const_iterator it = new_pystr.begin(); local
206 std::string::const_iterator it = new_pystr.begin(); local
229 std::string::const_iterator it = new_pystr.begin(); local
255 std::string::const_iterator it = new_pystr.begin(); local
268 TSegmentVec::iterator it = m_segs.begin(); local
376 CSyllables::const_iterator it = fuzzy_set.begin (); local
    [all...]
  /nv-g11n/inputmethod/sunpinyin2/wrapper/ibus/src/
sunpinyin_config.cpp 227 for (SchemeNames::iterator it = m_scheme_names.begin();
228 it != m_scheme_names.end(); ++it) {
229 if (it->second == scheme)
230 val = it->first;
239 SchemeNames::iterator it = m_scheme_names.find(name); local
240 if (it != m_scheme_names.end()) {
241 val = it->second;

Completed in 2880 milliseconds

1 2