FST  openfst-1.7.3
OpenFst Library
Functions
fstreplace.cc File Reference
#include <fst/flags.h>
Include dependency graph for fstreplace.cc:

Go to the source code of this file.

Functions

 DEFINE_string (call_arc_labeling,"input","Which labels to make non-epsilon on the call arc. ""One of: \"input\" (default), \"output\", \"both\", \"neither\"")
 
 DEFINE_string (return_arc_labeling,"neither","Which labels to make non-epsilon on the return arc. ""One of: \"input\", \"output\", \"both\", \"neither\" (default)")
 
 DEFINE_int64 (return_label, 0,"Label to put on return arc")
 
 DEFINE_bool (epsilon_on_replace, false,"Call/return arcs are epsilon arcs?")
 
int fstreplace_main (int argc, char **argv)
 
int main (int argc, char **argv)
 

Function Documentation

DEFINE_bool ( epsilon_on_replace  ,
false  ,
"Call/return arcs are epsilon arcs?"   
)
DEFINE_int64 ( return_label  ,
,
"Label to put on return arc"   
)
DEFINE_string ( call_arc_labeling  ,
"input"  ,
"Which labels to make non-epsilon on the call arc. ""One of: \"input\"   default,
\"output\"  ,
\"both\"  ,
\"neither\""   
)
DEFINE_string ( return_arc_labeling  ,
"neither"  ,
"Which labels to make non-epsilon on the return arc. ""One of: \"input\"  ,
\"output\"  ,
\"both\"  ,
\"neither\" (default)"   
)
int fstreplace_main ( int  argc,
char **  argv 
)

Definition at line 27 of file fstreplace-main.cc.

int main ( int  argc,
char **  argv 
)

Definition at line 17 of file fstreplace.cc.