aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/correction.h
diff options
context:
space:
mode:
authorsatok <satok@google.com>2011-08-15 22:30:33 +0900
committersatok <satok@google.com>2011-08-17 01:04:35 +0900
commitbcac0e9e23853891a5a45fd19b6f8917ffc705f7 (patch)
tree731437a1053dbefa5e47122aaad339fb0a8a11b7 /native/src/correction.h
parent77838275ca443f7a2ff899b3842c681338ad8e25 (diff)
downloadlatinime-bcac0e9e23853891a5a45fd19b6f8917ffc705f7.tar.gz
latinime-bcac0e9e23853891a5a45fd19b6f8917ffc705f7.tar.xz
latinime-bcac0e9e23853891a5a45fd19b6f8917ffc705f7.zip
Improve fat finger correction.
Change-Id: I37ed0dc6956f7e6fab5dcfd0483ab5691cd819d4
Diffstat (limited to 'native/src/correction.h')
-rw-r--r--native/src/correction.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/native/src/correction.h b/native/src/correction.h
index 9d385a44e..871a04251 100644
--- a/native/src/correction.h
+++ b/native/src/correction.h
@@ -139,8 +139,7 @@ private:
class RankingAlgorithm {
public:
static int calculateFinalFreq(const int inputIndex, const int depth,
- const int freq, const bool sameLength, int *editDistanceTable,
- const Correction* correction);
+ const int freq, int *editDistanceTable, const Correction* correction);
static int calcFreqForSplitTwoWords(const int firstFreq, const int secondFreq,
const Correction* correction);
};