| /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_slm.h | 71 PR_TYPE bow; member in struct:CSIMSlm::TNode 74 : TLeaf(theId, fr), child(ch), bow(theBOW)
|
| 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;
|
| /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_slm.h | 71 PR_TYPE bow; member in struct:CSIMSlm::TNode 74 : TLeaf(theId, fr), child(ch), bow(theBOW)
|
| 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;
|
| /nv-g11n/inputmethod/sunpinyin/slm/src/slm/tslmpack/ |
| arpa_slm.h | 62 float bow; member in struct:CArpaSlm::TNode
|
| /nv-g11n/inputmethod/sunpinyin2/src/slm/tslmpack/ |
| arpa_slm.h | 62 float bow; member in struct:CArpaSlm::TNode
|
| /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/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;
|
| /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...] |