OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:maxBigramCount
(Results
1 - 3
of
3
) sorted by null
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
ver4_patricia_trie_writing_helper.cpp
129
const int
maxBigramCount
= headerPolicy->getMaxNgramCounts().getNgramCount(NgramType::Bigram);
130
if (headerPolicy->isDecayingDict() && bigramCount >
maxBigramCount
) {
131
if (!truncateBigrams(
maxBigramCount
)) {
132
AKLOGE("Cannot remove bigrams. current: %d, max: %d", bigramCount,
maxBigramCount
);
242
bool Ver4PatriciaTrieWritingHelper::truncateBigrams(const int
maxBigramCount
) {
274
while (static_cast<int>(priorityQueue.size()) >
maxBigramCount
) {
ver4_patricia_trie_writing_helper.h
132
bool truncateBigrams(const int
maxBigramCount
);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
BinaryDictionaryTests.java
504
final int
maxBigramCount
= 10000;
507
attributeMap.put(DictionaryHeader.MAX_BIGRAM_COUNT_KEY, String.valueOf(
maxBigramCount
));
633
final int
maxBigramCount
= 10000;
636
attributeMap.put(DictionaryHeader.MAX_BIGRAM_COUNT_KEY, String.valueOf(
maxBigramCount
));
[
all
...]
Completed in 62 milliseconds