/external/marisa-trie/tools/ |
marisa-lookup.cc | 7 #include "./cmdopt.h" 82 ::cmdopt_t cmdopt; local 83 ::cmdopt_init(&cmdopt, argc, argv, "mrh", long_options); 85 while ((label = ::cmdopt_get(&cmdopt)) != -1) { 104 return lookup(cmdopt.argv + cmdopt.optind, cmdopt.argc - cmdopt.optind);
|
marisa-build.cc | 11 #include "./cmdopt.h" 131 ::cmdopt_t cmdopt; local 132 ::cmdopt_init(&cmdopt, argc, argv, "n:PpTbtwlo:h", long_options); 134 while ((label = ::cmdopt_get(&cmdopt)) != -1) { 138 const long value = std::strtol(cmdopt.optarg, &end_of_value, 10); 142 << cmdopt.optarg << std::endl; 176 output_filename = cmdopt.optarg; 188 return build(cmdopt.argv + cmdopt.optind, cmdopt.argc - cmdopt.optind) [all...] |
marisa-find.cc | 9 #include "./cmdopt.h" 155 ::cmdopt_t cmdopt; local 156 ::cmdopt_init(&cmdopt, argc, argv, "n:aflmrh", long_options); 158 while ((label = ::cmdopt_get(&cmdopt)) != -1) { 162 const long value = std::strtol(cmdopt.optarg, &end_of_value, 10); 165 << cmdopt.optarg << std::endl; 203 return find(cmdopt.argv + cmdopt.optind, cmdopt.argc - cmdopt.optind) [all...] |
marisa-predict.cc | 9 #include "./cmdopt.h" 114 ::cmdopt_t cmdopt; local 115 ::cmdopt_init(&cmdopt, argc, argv, "n:dbmrh", long_options); 117 while ((label = ::cmdopt_get(&cmdopt)) != -1) { 121 const long value = std::strtol(cmdopt.optarg, &end_of_value, 10); 124 << cmdopt.optarg << std::endl; 158 return predict(cmdopt.argv + cmdopt.optind, cmdopt.argc - cmdopt.optind) [all...] |
marisa-benchmark.cc | 12 #include "./cmdopt.h" 343 ::cmdopt_t cmdopt; local 344 ::cmdopt_init(&cmdopt, argc, argv, "N:n:PpTbtwlIiSsh", long_options); 346 while ((label = ::cmdopt_get(&cmdopt)) != -1) { 350 const long value = std::strtol(cmdopt.optarg, &end_of_value, 10); 354 << cmdopt.optarg << std::endl; 361 const long value = std::strtol(cmdopt.optarg, &end_of_value, 10); 365 << cmdopt.optarg << std::endl; 424 return benchmark(cmdopt.argv + cmdopt.optind, cmdopt.argc - cmdopt.optind) [all...] |
/external/marisa-trie/v0_1_5/tools/ |
marisa_alpha-lookup.cc | 7 #include "./cmdopt.h" 82 ::cmdopt_t cmdopt; local 83 ::cmdopt_init(&cmdopt, argc, argv, "mrh", long_options); 85 while ((label = ::cmdopt_get(&cmdopt)) != -1) { 104 return lookup(cmdopt.argv + cmdopt.optind, cmdopt.argc - cmdopt.optind);
|
marisa_alpha-build.cc | 11 #include "./cmdopt.h" 131 ::cmdopt_t cmdopt; local 132 ::cmdopt_init(&cmdopt, argc, argv, "n:PpTbtwlo:h", long_options); 134 while ((label = ::cmdopt_get(&cmdopt)) != -1) { 138 const long value = std::strtol(cmdopt.optarg, &end_of_value, 10); 142 << cmdopt.optarg << std::endl; 176 output_filename = cmdopt.optarg; 188 return build(cmdopt.argv + cmdopt.optind, cmdopt.argc - cmdopt.optind) [all...] |
marisa_alpha-find.cc | 9 #include "./cmdopt.h" 155 ::cmdopt_t cmdopt; local 156 ::cmdopt_init(&cmdopt, argc, argv, "n:aflmrh", long_options); 158 while ((label = ::cmdopt_get(&cmdopt)) != -1) { 162 const long value = std::strtol(cmdopt.optarg, &end_of_value, 10); 165 << cmdopt.optarg << std::endl; 204 return find(cmdopt.argv + cmdopt.optind, cmdopt.argc - cmdopt.optind) [all...] |
marisa_alpha-predict.cc | 9 #include "./cmdopt.h" 114 ::cmdopt_t cmdopt; local 115 ::cmdopt_init(&cmdopt, argc, argv, "n:dbmrh", long_options); 117 while ((label = ::cmdopt_get(&cmdopt)) != -1) { 121 const long value = std::strtol(cmdopt.optarg, &end_of_value, 10); 124 << cmdopt.optarg << std::endl; 159 return predict(cmdopt.argv + cmdopt.optind, cmdopt.argc - cmdopt.optind) [all...] |
marisa_alpha-benchmark.cc | 12 #include "./cmdopt.h" 343 ::cmdopt_t cmdopt; local 344 ::cmdopt_init(&cmdopt, argc, argv, "N:n:PpTbtwlIiSsh", long_options); 346 while ((label = ::cmdopt_get(&cmdopt)) != -1) { 350 const long value = std::strtol(cmdopt.optarg, &end_of_value, 10); 354 << cmdopt.optarg << std::endl; 361 const long value = std::strtol(cmdopt.optarg, &end_of_value, 10); 365 << cmdopt.optarg << std::endl; 424 return benchmark(cmdopt.argv + cmdopt.optind, cmdopt.argc - cmdopt.optind) [all...] |