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

Go to the source code of this file.

Functions

 DEFINE_string (pdt_parentheses,"","PDT parenthesis label pairs")
 
 DEFINE_string (pdt_parser_type,"left","Construction method, one of: \"left\", \"left_sr\"")
 
 DEFINE_int64 (start_paren_labels, fst::kNoLabel,"Index to use for the first inserted parentheses; if not ""specified, the next available label beyond the highest output ""label is used")
 
 DEFINE_string (left_paren_prefix,"(_","Prefix to attach to SymbolTable ""labels for inserted left parentheses")
 
 DEFINE_string (right_paren_prefix,")_","Prefix to attach to SymbolTable ""labels for inserted right parentheses")
 
int pdtreplace_main (int argc, char **argv)
 
int main (int argc, char **argv)
 

Function Documentation

DEFINE_int64 ( start_paren_labels  ,
fst::kNoLabel  ,
"Index to use for the first inserted parentheses; if not ""  specified,
the next available label beyond the highest output""label is used"   
)
DEFINE_string ( pdt_parentheses  ,
""  ,
"PDT parenthesis label pairs"   
)
DEFINE_string ( pdt_parser_type  ,
"left"  ,
"Construction  method,
one of:\"left\"  ,
\"left_sr\""   
)
DEFINE_string ( left_paren_prefix  )
DEFINE_string ( right_paren_prefix  ,
 
)
int main ( int  argc,
char **  argv 
)

Definition at line 39 of file pdtreplace.cc.

int pdtreplace_main ( int  argc,
char **  argv 
)

Definition at line 41 of file pdtreplace-main.cc.