Home | History | Annotate | Download | only in tools

Lines Matching defs:trie

28       "  -P, --patricia-trie  build patricia tries (default)\n"
29 " -p, --prefix-trie build prefix tries\n"
77 marisa::Trie trie;
79 trie.build(keys, NULL, param_num_tries
87 std::cerr << "#keys: " << trie.num_keys() << std::endl;
88 std::cerr << "#tries: " << trie.num_tries() << std::endl;
89 std::cerr << "#nodes: " << trie.num_nodes() << std::endl;
90 std::cerr << "size: " << trie.total_size() << std::endl;
94 trie.save(output_filename);
103 trie.write(std::cout);
120 { "patricia-trie", 0, NULL, 'P' },
121 { "prefix-trie", 0, NULL, 'p' },