Home
last modified time | relevance | path

Searched refs:bigramCount (Results 1 – 5 of 5) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_writing_helper.cpp70 int bigramCount = 0; in writeToDictFileWithGC() local
71 if (!runGC(rootPtNodeArrayPos, headerPolicy, dictBuffers.get(), &unigramCount, &bigramCount)) { in writeToDictFileWithGC()
78 entryCounters.setNgramCount(NgramType::Bigram, bigramCount); in writeToDictFileWithGC()
128 const int bigramCount = traversePolicyToUpdateBigramProbability.getValidBigramEntryCount(); in runGC() local
130 if (headerPolicy->isDecayingDict() && bigramCount > maxBigramCount) { in runGC()
132 AKLOGE("Cannot remove bigrams. current: %d, max: %d", bigramCount, maxBigramCount); in runGC()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
Ddynamic_pt_gc_event_listeners.cpp132 int bigramCount = 0; in onVisitingPtNode() local
134 &bigramCount)) { in onVisitingPtNode()
137 mBigramCount += bigramCount; in onVisitingPtNode()
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DInfo.java43 int bigramCount = 0; in showInfo() local
49 bigramCount += wordProperty.mNgrams.size(); in showInfo()
53 System.out.println("Bigram count : " + bigramCount); in showInfo()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/bigram/
Dver4_bigram_list_policy.cpp222 int bigramCount = 0; in getBigramEntryConut() local
230 bigramCount++; in getBigramEntryConut()
233 return bigramCount; in getBigramEntryConut()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java334 final int bigramCount = 1000; in testRandomlyAddBigramWords() local
354 for (int i = 0; i < bigramCount; i++) { in testRandomlyAddBigramWords()
474 final int bigramCount = 1000; in testAddBigramWordsAndFlashWithGC() local
496 for (int i = 0; i < bigramCount; i++) { in testAddBigramWordsAndFlashWithGC()