Blame view

tools/openfst-1.6.7/src/bin/fstshortestdistance.cc 703 Bytes
8dcb6dfcb   Yannick Estève   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  // See www.openfst.org for extensive documentation on this weighted
  // finite-state transducer library.
  
  #include <fst/flags.h>
  #include <fst/fst.h>
  #include <fst/shortest-distance.h>
  #include <fst/weight.h>
  
  DEFINE_bool(reverse, false, "Perform in the reverse direction");
  DEFINE_double(delta, fst::kShortestDelta, "Comparison/quantization delta");
  DEFINE_int64(nstate, fst::kNoStateId, "State number threshold");
  DEFINE_string(queue_type, "auto",
                "Queue type: one of: \"auto\", "
                "\"fifo\", \"lifo\", \"shortest\", \"state\", \"top\"");
  
  int fstshortestdistance_main(int argc, char **argv);
  
  int main(int argc, char **argv) { return fstshortestdistance_main(argc, argv); }