HomeSort by relevance Sort by last modified time
    Searched refs:bow (Results 1 - 25 of 28) sorted by null

1 2

  /nv-g11n/inputmethod/sunpinyin/slm/src/slm/
sim_slm.cpp 101 double bow = 0.0; local
110 bow = ((TNode*)pstate)->bow;
120 return bow + getPrAsLog(n-1, hw+1);
133 double bow = 1.0; local
142 bow = ((TNode*)pstate)->bow;
152 return bow * getPrDirect(n-1, hw+1);
sim_slmbuilder.cpp 406 double bow = ((sumnext > sum)?sumnext:sum)+0.0001; local
407 bow = (bow - sumnext) / (bow - sum);
408 printf("\n (sigma(p(w|h)=%lf, sigma(p(w|h')=%lf) bow ==> %lf due to Calculation precision for %d-gram:", sumnext, sum, bow, lvl);
411 return bow;
439 double bow; local
442 bow = CalcNodeBow(this, lvl, words, ch+node.child, ch+nodenext.child, bUseLogPr);
445 bow = CalcNodeBow(this, lvl, words, ch+node.child, ch+nodenext.child, bUseLogPr)
460 double bow = 1.0; local
    [all...]
slm.h 120 unsigned int bow() const function in struct:CThreadSlm::TNode
150 void set_bow(unsigned int bow)
152 m_bow = bow;
sim_slm.h 71 PR_TYPE bow; member in struct:CSIMSlm::TNode
74 : TLeaf(theId, fr), child(ch), bow(theBOW)
slm.cpp 217 cost += m_bowTable[pn->bow()];
219 cost *= m_bowTable[pn->bow()];
  /nv-g11n/inputmethod/sunpinyin2/src/slm/
sim_slm.cpp 101 double bow = 0.0; local
110 bow = ((TNode*)pstate)->bow;
120 return bow + getPrAsLog(n-1, hw+1);
133 double bow = 1.0; local
142 bow = ((TNode*)pstate)->bow;
152 return bow * getPrDirect(n-1, hw+1);
sim_slmbuilder.cpp 406 double bow = ((sumnext > sum)?sumnext:sum)+0.0001; local
407 bow = (bow - sumnext) / (bow - sum);
408 printf("\n (sigma(p(w|h)=%lf, sigma(p(w|h')=%lf) bow ==> %lf due to Calculation precision for %d-gram:", sumnext, sum, bow, lvl);
411 return bow;
439 double bow; local
442 bow = CalcNodeBow(this, lvl, words, ch+node.child, ch+nodenext.child, bUseLogPr);
445 bow = CalcNodeBow(this, lvl, words, ch+node.child, ch+nodenext.child, bUseLogPr)
460 double bow = 1.0; local
    [all...]
slm.h 120 unsigned int bow() const function in struct:CThreadSlm::TNode
150 void set_bow(unsigned int bow)
152 m_bow = bow;
sim_slm.h 71 PR_TYPE bow; member in struct:CSIMSlm::TNode
74 : TLeaf(theId, fr), child(ch), bow(theBOW)
slm.cpp 223 cost += m_bowTable[pn->bow()];
225 cost *= m_bowTable[pn->bow()];
  /nv-g11n/inputmethod/sunpinyin/slm/src/slm/tslmpack/
arpa_conv.cpp 117 unsigned bow_idx = get_bow_index(node.bow);
122 unsigned get_bow_index(float bow) {
123 FreqMap::iterator bowit = m_bow_map.find(bow);
125 double val = EffectiveBow(bow);
arpa_slm.h 62 float bow; member in struct:CArpaSlm::TNode
arpa_slm.cpp 130 &pr, &bow, &bol, &bon);
140 &pr, &bow, &bol, &bon);
  /nv-g11n/inputmethod/sunpinyin2/src/slm/tslmpack/
arpa_conv.cpp 117 unsigned bow_idx = get_bow_index(node.bow);
122 unsigned get_bow_index(float bow) {
123 FreqMap::iterator bowit = m_bow_map.find(bow);
125 double val = EffectiveBow(bow);
arpa_slm.h 62 float bow; member in struct:CArpaSlm::TNode
arpa_slm.cpp 130 &pr, &bow, &bol, &bon);
140 &pr, &bow, &bol, &bon);
  /nv-g11n/inputmethod/sunpinyin/slm/src/slm/slmprune/
slmprune.cpp 271 double bow = 1.0; local
274 bow = CalcNodeBow(this, lvl, words, &(ch[node.child]), &(ch[nodenext.child]), bUseLogPr);
277 bow = CalcNodeBow(this, lvl, words, &(ch[node.child]), &(ch[nodenext.child]), bUseLogPr);
280 node.bow = PR_TYPE(-log(bow));
282 node.bow = PR_TYPE(bow);
290 double PA, PB, PHW, PH_W, PH, BOW, _BOW, pr, p_r;
296 BOW = exp(-double(parent->bow)); //Fix original bug to use the BOW directl
    [all...]
  /nv-g11n/inputmethod/sunpinyin2/src/slm/slmprune/
slmprune.cpp 271 double bow = 1.0; local
274 bow = CalcNodeBow(this, lvl, words, &(ch[node.child]), &(ch[nodenext.child]), bUseLogPr);
277 bow = CalcNodeBow(this, lvl, words, &(ch[node.child]), &(ch[nodenext.child]), bUseLogPr);
280 node.bow = PR_TYPE(-log(bow));
282 node.bow = PR_TYPE(bow);
290 double PA, PB, PHW, PH_W, PH, BOW, _BOW, pr, p_r;
296 BOW = exp(-double(parent->bow)); //Fix original bug to use the BOW directl
    [all...]
  /nv-g11n/inputmethod/sunpinyin/ime/src/slm/
slm.h 120 unsigned int bow() const function in struct:CThreadSlm::TNode
150 void set_bow(unsigned int bow)
152 m_bow = bow;
slm.cpp 215 cost += m_bowTable[pn->bow()];
217 cost *= m_bowTable[pn->bow()];
  /nv-g11n/inputmethod/sunpinyin/slm/src/slm/slminfo/
slminfo.cpp 175 printf("%20.17lf", double(nodes[lvl][0].bow));
177 printf("%20.17lf", exp(-double(nodes[lvl][0].bow)));
186 printf("%20.17lf", -log(double(nodes[lvl][0].bow)));
188 printf("%20.17lf", double(nodes[lvl][0].bow));
  /nv-g11n/inputmethod/sunpinyin2/src/slm/slminfo/
slminfo.cpp 175 printf("%20.17lf", double(nodes[lvl][0].bow));
177 printf("%20.17lf", exp(-double(nodes[lvl][0].bow)));
186 printf("%20.17lf", -log(double(nodes[lvl][0].bow)));
188 printf("%20.17lf", double(nodes[lvl][0].bow));
  /nv-g11n/inputmethod/sunpinyin/slm/src/slm/tslminfo/
tslminfo.cpp 251 double bow = itslm.mapBow(pn->bow(), use_log_pr); local
252 printf("%16.12lf %16.12lf ", pr, bow);
  /nv-g11n/inputmethod/sunpinyin2/src/slm/tslminfo/
tslminfo.cpp 251 double bow = itslm.mapBow(pn->bow(), use_log_pr); local
252 printf("%16.12lf %16.12lf ", pr, bow);
  /nv-g11n/inputmethod/sunpinyin/slm/src/slm/thread/
slmthread.cpp 257 real_bow = ((CSIMSlm::TNode*)pl)->bow;
288 // Following bow value should not be grouped, or as milestone values.
317 printf("\nCompressing bow values..."); fflush(stdout);
357 std::map<float, int>::iterator bowit = bow_map.find(pn->bow);
359 double val = EffectiveBow(pn->bow);

Completed in 120 milliseconds

1 2