FST  openfst-1.7.3
OpenFst Library
pdtcompose.cc
Go to the documentation of this file.
1 // See www.openfst.org for extensive documentation on this weighted
2 // finite-state transducer library.
3 //
4 // Composes a PDT and an FST.
5 
6 #include <fst/flags.h>
7 
8 DEFINE_string(pdt_parentheses, "", "PDT parenthesis label pairs");
9 DEFINE_bool(left_pdt, true, "Is the first argument the PDT?");
10 DEFINE_bool(connect, true, "Trim output?");
11 DEFINE_string(compose_filter, "paren",
12  "Composition filter, one of: \"expand\", \"expand_paren\", "
13  "\"paren\"");
14 
15 int pdtcompose_main(int argc, char **argv);
16 
17 int main(int argc, char **argv) { return pdtcompose_main(argc, argv); }
int pdtcompose_main(int argc, char **argv)
DEFINE_string(pdt_parentheses,"","PDT parenthesis label pairs")
DEFINE_bool(left_pdt, true,"Is the first argument the PDT?")
int main(int argc, char **argv)
Definition: pdtcompose.cc:17