Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dmulti_bigram_map.cpp37 const DictionaryStructureWithBufferPolicy *const structurePolicy, in getBigramProbability() argument
41 return structurePolicy->getProbability(unigramProbability, NOT_A_PROBABILITY); in getBigramProbability()
45 return mapPosition->second.getBigramProbability(structurePolicy, nextWordId, in getBigramProbability()
49 addBigramsForWord(structurePolicy, prevWordIds); in getBigramProbability()
50 return mBigramMaps[prevWordIds[0]].getBigramProbability(structurePolicy, in getBigramProbability()
53 return readBigramProbabilityFromBinaryDictionary(structurePolicy, prevWordIds, in getBigramProbability()
58 const DictionaryStructureWithBufferPolicy *const structurePolicy, in init() argument
60 structurePolicy->iterateNgramEntries(prevWordIds, this /* listener */); in init()
64 const DictionaryStructureWithBufferPolicy *const structurePolicy, in getBigramProbability() argument
73 return structurePolicy->getProbability(unigramProbability, bigramProbability); in getBigramProbability()
[all …]
Dmulti_bigram_map.h42 int getBigramProbability(const DictionaryStructureWithBufferPolicy *const structurePolicy,
60 void init(const DictionaryStructureWithBufferPolicy *const structurePolicy,
63 const DictionaryStructureWithBufferPolicy *const structurePolicy,
73 void addBigramsForWord(const DictionaryStructureWithBufferPolicy *const structurePolicy,
77 const DictionaryStructureWithBufferPolicy *const structurePolicy,
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp537 DictionaryStructureWithBufferPolicy::StructurePolicyPtr structurePolicy, in runGCAndGetNewStructurePolicy() argument
539 structurePolicy->flushWithGC(dictFilePath); in runGCAndGetNewStructurePolicy()
540 structurePolicy.release(); in runGCAndGetNewStructurePolicy()