Home
last modified time | relevance | path

Searched refs:DoubleArrayTrie (Results 1 – 6 of 6) sorted by relevance

/external/libtextclassifier/utils/sentencepiece/
Ddouble_array_trie.cc22 bool DoubleArrayTrie::GatherPrefixMatches( in GatherPrefixMatches()
55 bool DoubleArrayTrie::FindAllPrefixMatches( in FindAllPrefixMatches()
61 bool DoubleArrayTrie::LongestPrefixMatch(StringPiece input, in LongestPrefixMatch()
Dnormalizer.h44 SentencePieceNormalizer(const DoubleArrayTrie& charsmap_trie,
67 DoubleArrayTrie charsmap_trie_;
Ddouble_array_trie.h42 class DoubleArrayTrie : public SentencePieceMatcher {
45 DoubleArrayTrie(const TrieNode* nodes, const int nodes_length) in DoubleArrayTrie() function
Dtest_utils.cc37 DoubleArrayTrie(trie_blob, num_nodes), in NormalizerFromSpec()
Ddouble_array_trie_test.cc38 DoubleArrayTrie trie(reinterpret_cast<const TrieNode*>(config.data()), in TEST()
/external/libtextclassifier/utils/tflite/
Dtext_encoder.cc96 DoubleArrayTrie(charsmap_trie_nodes, charsmap_trie_nodes_length), in Initialize()
111 new DoubleArrayTrie(pieces_trie_nodes, pieces_trie_nodes_length)); in Initialize()