Searched refs:maxUnigramCount (Results 1 – 3 of 3) sorted by relevance
112 const int maxUnigramCount = headerPolicy->getMaxNgramCounts().getNgramCount(NgramType::Unigram); in runGC() local113 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() argument226 while (static_cast<int>(priorityQueue.size()) > maxUnigramCount) { in truncateUnigrams()
130 Ver4PatriciaTrieNodeWriter *const ptNodeWriter, const int maxUnigramCount);
503 final int maxUnigramCount = 5000; in testRandomOperationsAndFlashWithGC() local506 attributeMap.put(DictionaryHeader.MAX_UNIGRAM_COUNT_KEY, String.valueOf(maxUnigramCount)); in testRandomOperationsAndFlashWithGC()632 final int maxUnigramCount = 5000; in testUnigramAndBigramCount() local635 attributeMap.put(DictionaryHeader.MAX_UNIGRAM_COUNT_KEY, String.valueOf(maxUnigramCount)); in testUnigramAndBigramCount()