FST  openfst-1.7.3
OpenFst Library
pdtexpand.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 // Expands a (bounded-stack) PDT as an FST.
5 
6 #include <fst/flags.h>
7 
8 DEFINE_string(pdt_parentheses, "", "PDT parenthesis label pairs");
9 DEFINE_bool(connect, true, "Trim output?");
10 DEFINE_bool(keep_parentheses, false, "Keep PDT parentheses in result?");
11 DEFINE_string(weight, "", "Weight threshold");
12 
13 int pdtexpand_main(int argc, char **argv);
14 
15 int main(int argc, char **argv) { return pdtexpand_main(argc, argv); }
DEFINE_string(pdt_parentheses,"","PDT parenthesis label pairs")
int main(int argc, char **argv)
Definition: pdtexpand.cc:15
DEFINE_bool(connect, true,"Trim output?")
int pdtexpand_main(int argc, char **argv)