fstshortestdistance.cc
703 Bytes
// 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); }