diff options
author | 2012-04-06 18:26:00 +0900 | |
---|---|---|
committer | 2012-04-06 18:34:59 +0900 | |
commit | cd274b146961c95abf1436caa8ec482650432b6e (patch) | |
tree | adb2bd0a54be17f4a0d63babb6f7d5fe0dfe2695 /native/jni/src/unigram_dictionary.cpp | |
parent | e81ac8baa0dc0e8d671c813b93100070c23b9a1d (diff) | |
download | latinime-cd274b146961c95abf1436caa8ec482650432b6e.tar.gz latinime-cd274b146961c95abf1436caa8ec482650432b6e.tar.xz latinime-cd274b146961c95abf1436caa8ec482650432b6e.zip |
Save the flags in a member in the unigram dictionary.
Change-Id: Ic8fad9110db6b97f98ace27af0f347b4e69de8c8
Diffstat (limited to 'native/jni/src/unigram_dictionary.cpp')
-rw-r--r-- | native/jni/src/unigram_dictionary.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/native/jni/src/unigram_dictionary.cpp b/native/jni/src/unigram_dictionary.cpp index 06a2a6b5b..e9667ea7b 100644 --- a/native/jni/src/unigram_dictionary.cpp +++ b/native/jni/src/unigram_dictionary.cpp @@ -40,13 +40,13 @@ const UnigramDictionary::digraph_t UnigramDictionary::FRENCH_LIGATURES_DIGRAPHS[ // TODO: check the header UnigramDictionary::UnigramDictionary(const uint8_t* const streamStart, int typedLetterMultiplier, - int fullWordMultiplier, int maxWordLength, int maxWords) + int fullWordMultiplier, int maxWordLength, int maxWords, const unsigned int flags) : DICT_ROOT(streamStart), MAX_WORD_LENGTH(maxWordLength), MAX_WORDS(maxWords), TYPED_LETTER_MULTIPLIER(typedLetterMultiplier), FULL_WORD_MULTIPLIER(fullWordMultiplier), // TODO : remove this variable. ROOT_POS(0), BYTES_IN_ONE_CHAR(sizeof(int)), - MAX_DIGRAPH_SEARCH_DEPTH(DEFAULT_MAX_DIGRAPH_SEARCH_DEPTH) { + MAX_DIGRAPH_SEARCH_DEPTH(DEFAULT_MAX_DIGRAPH_SEARCH_DEPTH), FLAGS(flags) { if (DEBUG_DICT) { AKLOGI("UnigramDictionary - constructor"); } |