Home | History | Annotate | Download | only in tools

Lines Matching refs:marisa_alpha

7 #include <marisa_alpha.h>
39 void find_all(const marisa_alpha::Trie &trie, const std::string &str) {
40 static std::vector<marisa_alpha::UInt32> key_ids;
56 void find_first(const marisa_alpha::Trie &trie, const std::string &str) {
58 const marisa_alpha::UInt32 key_id = trie.find_first(str, &length);
67 void find_last(const marisa_alpha::Trie &trie, const std::string &str) {
69 const marisa_alpha::UInt32 key_id = trie.find_last(str, &length);
88 marisa_alpha::Trie trie;
89 marisa_alpha::Mapper mapper;
93 } catch (const marisa_alpha::Exception &ex) {
101 } catch (const marisa_alpha::Exception &ex) {
125 } catch (const marisa_alpha::Exception &ex) {