Home
last modified time | relevance | path

Searched refs:maxUnigramCount (Results 1 – 3 of 3) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_writing_helper.cpp112 const int maxUnigramCount = headerPolicy->getMaxNgramCounts().getNgramCount(NgramType::Unigram); in runGC() local
113 if (headerPolicy->isDecayingDict() && unigramCount > maxUnigramCount) { in runGC()
114 if (!truncateUnigrams(&ptNodeReader, &ptNodeWriter, maxUnigramCount)) { in runGC()
116 maxUnigramCount); in runGC()
204 Ver4PatriciaTrieNodeWriter *const ptNodeWriter, const int maxUnigramCount) { in truncateUnigrams() argument
226 while (static_cast<int>(priorityQueue.size()) > maxUnigramCount) { in truncateUnigrams()
Dver4_patricia_trie_writing_helper.h130 Ver4PatriciaTrieNodeWriter *const ptNodeWriter, const int maxUnigramCount);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java503 final int maxUnigramCount = 5000; in testRandomOperationsAndFlashWithGC() local
506 attributeMap.put(DictionaryHeader.MAX_UNIGRAM_COUNT_KEY, String.valueOf(maxUnigramCount)); in testRandomOperationsAndFlashWithGC()
632 final int maxUnigramCount = 5000; in testUnigramAndBigramCount() local
635 attributeMap.put(DictionaryHeader.MAX_UNIGRAM_COUNT_KEY, String.valueOf(maxUnigramCount)); in testUnigramAndBigramCount()