| /nv-g11n/inputmethod/sunpinyin/slm/src/slm/slmbuild/ |
| slmbuild.cpp | 65 {"cut", 1, 0, 'c'}, 90 -c --cut c1[,c2...] # k-gram whose freq <= c[k] are droped\n\ 97 0 < dis < cut[k]+1.0, normally dis < 1.0.\n\ 102 -n must be given before -c -b. And -c must give right number of cut-off,\n\ 114 At 1-gram level, use Good-Turing discount with cut-off 0, R=8, dis=0.9995. At\n\ 115 2-gram level, use Absolute discount with cut-off 3, dis auto-calc. At 3-gram\n\ 116 level, use Absolute discount with cut-off 2, dis auto-calc. Word id 10,11,12\n\ 142 int n, rmax, cut; local 163 cut = atoi(ac); 164 threshold.push_back(CSlmBuilder::FREQ_TYPE(cut)); [all...] |
| /nv-g11n/inputmethod/sunpinyin2/src/slm/slmbuild/ |
| slmbuild.cpp | 65 {"cut", 1, 0, 'c'}, 90 -c --cut c1[,c2...] # k-gram whose freq <= c[k] are droped\n\ 97 0 < dis < cut[k]+1.0, normally dis < 1.0.\n\ 102 -n must be given before -c -b. And -c must give right number of cut-off,\n\ 114 At 1-gram level, use Good-Turing discount with cut-off 0, R=8, dis=0.9995. At\n\ 115 2-gram level, use Absolute discount with cut-off 3, dis auto-calc. At 3-gram\n\ 116 level, use Absolute discount with cut-off 2, dis auto-calc. Word id 10,11,12\n\ 142 int n, rmax, cut; local 163 cut = atoi(ac); 164 threshold.push_back(CSlmBuilder::FREQ_TYPE(cut)); [all...] |
| /nv-g11n/inputmethod/sunpinyin/slm/src/slm/ |
| sim_slmbuilder.h | 57 : m_nWord(0), nlevel(0), level(NULL), cut(NULL), discounter(NULL), 90 void Cut(); 105 FREQ_TYPE* cut; // cut[1] is not cut threshold for 1-gram, ... member in class:CSlmBuilder
|
| /nv-g11n/inputmethod/sunpinyin2/src/slm/ |
| sim_slmbuilder.h | 57 : m_nWord(0), nlevel(0), level(NULL), cut(NULL), discounter(NULL), 90 void Cut(); 105 FREQ_TYPE* cut; // cut[1] is not cut threshold for 1-gram, ... member in class:CSlmBuilder
|
| /nv-g11n/inputmethod/sunpinyin/slm/src/slm/slmprune/ |
| slmprune.cpp | 76 CSlmPruner() : CSIMSlm(), cut(NULL) 80 { if (cut) delete [] cut; } 93 int* cut; member in class:CSlmPruner 121 cut = new int [N+1]; 122 cut[0] = 0; 124 cut[lvl] = sz[lvl] - 1 - nReserve[lvl]; 125 if (cut[lvl] < 0) cut[lvl] = 0; 131 cut = new int [N+1] [all...] |
| /nv-g11n/inputmethod/sunpinyin2/src/slm/slmprune/ |
| slmprune.cpp | 76 CSlmPruner() : CSIMSlm(), cut(NULL) 80 { if (cut) delete [] cut; } 93 int* cut; member in class:CSlmPruner 121 cut = new int [N+1]; 122 cut[0] = 0; 124 cut[lvl] = sz[lvl] - 1 - nReserve[lvl]; 125 if (cut[lvl] < 0) cut[lvl] = 0; 131 cut = new int [N+1] [all...] |