Rename function

Change-Id: Ia05d4b96158b17d4feef8f2d6ebd52e9dd69b25f
main
Satoshi Kataoka 2012-12-06 18:40:09 +09:00
parent 0ed8c6ee29
commit a21187188f
2 changed files with 3 additions and 3 deletions

View File

@ -1143,9 +1143,9 @@ bool ProximityInfoState::suppressCharProbabilities(const int index0, const int i
return true;
}
// Get a word that is detected by tracing highest probability sequence into codePointBuf and
// Get a word that is detected by tracing the most probable char sequence into codePointBuf and
// returns probability of generating the word.
float ProximityInfoState::getHighestProbabilitySequence(int *const codePointBuf) const {
float ProximityInfoState::getMostProbableCharSequence(int *const codePointBuf) const {
static const float DEMOTION_LOG_PROBABILITY = 0.3f;
int index = 0;
float sumLogProbability = 0.0f;

View File

@ -196,7 +196,7 @@ class ProximityInfoState {
// Returns angle of three points. x, y, and z are indices.
float getPointsAngle(const int index0, const int index1, const int index2) const;
float getHighestProbabilitySequence(int *const codePointBuf) const;
float getMostProbableCharSequence(int *const codePointBuf) const;
float getProbability(const int index, const int charCode) const;