diff options
Diffstat (limited to 'native/src/dictionary.cpp')
-rw-r--r-- | native/src/dictionary.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/native/src/dictionary.cpp b/native/src/dictionary.cpp index cf050fd30..05692f7ef 100644 --- a/native/src/dictionary.cpp +++ b/native/src/dictionary.cpp @@ -31,10 +31,9 @@ Dictionary::Dictionary(void *dict, int typedLetterMultiplier, int fullWordMultip { LOGI("IN NATIVE SUGGEST Version: %d \n", (DICT[0] & 0xFF)); mUnigramDictionary = new UnigramDictionary(DICT, typedLetterMultiplier, fullWordMultiplier, - maxWordLength, maxWords, maxAlternatives, IS_LATEST_DICT_VERSION, - hasBigram(), this); - mBigramDictionary = new BigramDictionary(dict, typedLetterMultiplier, fullWordMultiplier, - maxWordLength, maxWords, maxAlternatives, this); + maxWordLength, maxWords, maxAlternatives, IS_LATEST_DICT_VERSION); + mBigramDictionary = new BigramDictionary(DICT, maxWordLength, maxAlternatives, + IS_LATEST_DICT_VERSION, hasBigram(), this); } Dictionary::~Dictionary() |