diff options
author | 2012-01-17 15:59:15 +0900 | |
---|---|---|
committer | 2012-01-17 16:00:55 +0900 | |
commit | 29dc80614bc529ca2c0b96e1a731ebb7a5433090 (patch) | |
tree | 5fcb3208f5851c913dbe945808e70e740e263f8a /native/src/correction.h | |
parent | f611f24b32149fc928c0f31934d563ea7a053274 (diff) | |
download | latinime-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.h | 2 |
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, |