Searched refs:score_amplifier_ (Results 1 - 4 of 4) sorted by relevance

/packages/inputmethods/PinyinIME/jni/include/
H A Dspellingtable.h59 double score_amplifier_; member in class:ime_pinyin::SpellingTable
H A Dspellingtrie.h71 float score_amplifier_; member in class:ime_pinyin::SpellingTrie
/packages/inputmethods/PinyinIME/jni/share/
H A Dspellingtable.cpp267 score_amplifier_ = 1.0 * 255 / min_score;
271 double score = log(raw_spellings_[pos].freq) * score_amplifier_;
294 printf("\n----Score Amplifier: %f, Average Score: %d\n", score_amplifier_,
305 return static_cast<float>(score_amplifier_);
H A Dspellingtrie.cpp296 score_amplifier_ = score_amplifier;
649 if (fwrite(&score_amplifier_, sizeof(float), 1, fp) != 1)
672 if (fread(&score_amplifier_, sizeof(float), 1, fp) != 1)
690 score_amplifier_, average_score_);

Completed in 79 milliseconds