aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/correction.h
diff options
context:
space:
mode:
authorsatok <satok@google.com>2012-01-17 15:59:15 +0900
committersatok <satok@google.com>2012-01-17 16:00:55 +0900
commit29dc80614bc529ca2c0b96e1a731ebb7a5433090 (patch)
tree5fcb3208f5851c913dbe945808e70e740e263f8a /native/src/correction.h
parentf611f24b32149fc928c0f31934d563ea7a053274 (diff)
downloadlatinime-29dc80614bc529ca2c0b96e1a731ebb7a5433090.tar.gz
latinime-29dc80614bc529ca2c0b96e1a731ebb7a5433090.tar.xz
latinime-29dc80614bc529ca2c0b96e1a731ebb7a5433090.zip
Prepair for advanced two words error correction
Change-Id: I4c8a21f0f6e349ddafd9b402583321a60855cfe8
Diffstat (limited to 'native/src/correction.h')
-rw-r--r--native/src/correction.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/native/src/correction.h b/native/src/correction.h
index a0fd55fd9..22a424f5c 100644
--- a/native/src/correction.h
+++ b/native/src/correction.h
@@ -100,6 +100,8 @@ class Correction {
const int freq, int *editDistanceTable, const Correction* correction);
static int calcFreqForSplitTwoWords(const int firstFreq, const int secondFreq,
const Correction* correction, const unsigned short *word);
+ static int calcFreqForSplitTwoWordsOld(const int firstFreq, const int secondFreq,
+ const Correction* correction, const unsigned short *word);
static double calcNormalizedScore(const unsigned short* before, const int beforeLength,
const unsigned short* after, const int afterLength, const int score);
static int editDistance(const unsigned short* before,