diff options
author | 2013-04-08 01:43:16 -0700 | |
---|---|---|
committer | 2013-04-08 01:43:16 -0700 | |
commit | cd0984a4ab8f95d40287bb1e450ef169513330df (patch) | |
tree | 2b2900803737b0171b7a0bff159d0a146b4336d7 | |
parent | dfb680c4650d527f22046f6924f404eaba56709a (diff) | |
parent | e320789a62e2e1161673657241b664e9cbf31f7f (diff) | |
download | latinime-cd0984a4ab8f95d40287bb1e450ef169513330df.tar.gz latinime-cd0984a4ab8f95d40287bb1e450ef169513330df.tar.xz latinime-cd0984a4ab8f95d40287bb1e450ef169513330df.zip |
am e320789a: Suppress bigram native log
* commit 'e320789a62e2e1161673657241b664e9cbf31f7f':
Suppress bigram native log
-rw-r--r-- | native/jni/src/bigram_dictionary.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/native/jni/src/bigram_dictionary.cpp b/native/jni/src/bigram_dictionary.cpp index 43e59a262..92890383a 100644 --- a/native/jni/src/bigram_dictionary.cpp +++ b/native/jni/src/bigram_dictionary.cpp @@ -39,7 +39,7 @@ BigramDictionary::~BigramDictionary() { void BigramDictionary::addWordBigram(int *word, int length, int probability, int *bigramProbability, int *bigramCodePoints, int *outputTypes) const { word[length] = 0; - if (DEBUG_DICT) { + if (DEBUG_DICT_FULL) { #ifdef FLAG_DBG char s[length + 1]; for (int i = 0; i <= length; i++) s[i] = static_cast<char>(word[i]); @@ -57,7 +57,7 @@ void BigramDictionary::addWordBigram(int *word, int length, int probability, int } insertAt++; } - if (DEBUG_DICT) { + if (DEBUG_DICT_FULL) { AKLOGI("Bigram: InsertAt -> %d MAX_RESULTS: %d", insertAt, MAX_RESULTS); } if (insertAt >= MAX_RESULTS) { @@ -76,7 +76,7 @@ void BigramDictionary::addWordBigram(int *word, int length, int probability, int *dest++ = *word++; } *dest = 0; // NULL terminate - if (DEBUG_DICT) { + if (DEBUG_DICT_FULL) { AKLOGI("Bigram: Added word at %d", insertAt); } } |