Searched refs:PatriciaTriePolicy (Results 1 – 3 of 3) sorted by relevance
33 void PatriciaTriePolicy::createAndGetAllChildDicNodes(const DicNode *const dicNode, in createAndGetAllChildDicNodes()60 int PatriciaTriePolicy::getCodePointsAndReturnCodePointCount(const int wordId, in getCodePointsAndReturnCodePointCount()82 int PatriciaTriePolicy::getCodePointsAndProbabilityAndReturnCodePointCount( in getCodePointsAndProbabilityAndReturnCodePointCount()280 int PatriciaTriePolicy::getWordId(const CodePointArrayView wordCodePoints, in getWordId()293 const WordAttributes PatriciaTriePolicy::getWordAttributesInContext( in getWordAttributesInContext()317 const WordAttributes PatriciaTriePolicy::getWordAttributes(const int probability, in getWordAttributes()323 int PatriciaTriePolicy::getProbability(const int unigramProbability, in getProbability()339 int PatriciaTriePolicy::getProbabilityOfWord(const WordIdArrayView prevWordIds, in getProbabilityOfWord()368 void PatriciaTriePolicy::iterateNgramEntries(const WordIdArrayView prevWordIds, in iterateNgramEntries()383 BinaryDictionaryShortcutIterator PatriciaTriePolicy::getShortcutIterator(const int wordId) const { in getShortcutIterator()[all …]
42 class PatriciaTriePolicy : public DictionaryStructureWithBufferPolicy {44 PatriciaTriePolicy(MmappedBuffer::MmappedBufferPtr mmappedBuffer) in PatriciaTriePolicy() function154 DISALLOW_IMPLICIT_CONSTRUCTORS(PatriciaTriePolicy);
185 new PatriciaTriePolicy(std::move(mmappedBuffer))); in newPolicyForFileDict()