FST  openfst-1.7.2
OpenFst Library
Namespaces | Functions | Variables
phi-fst.cc File Reference
#include <fst/fst.h>
#include <fst/extensions/special/phi-fst.h>
Include dependency graph for phi-fst.cc:

Go to the source code of this file.

Namespaces

 fst
 

Functions

 DEFINE_int64 (phi_fst_phi_label, 0,"Label of transitions to be interpreted as phi ('failure') ""transitions")
 
 DEFINE_bool (phi_fst_phi_loop, true,"When true, a phi self loop consumes a symbol")
 
 DEFINE_string (phi_fst_rewrite_mode,"auto","Rewrite both sides when matching? One of:"" \"auto\" (rewrite iff acceptor), \"always\", \"never\"")
 

Variables

const char fst::phi_fst_type [] = "phi"
 
const char fst::input_phi_fst_type [] = "input_phi"
 
const char fst::output_phi_fst_type [] = "output_phi"
 

Function Documentation

DEFINE_bool ( phi_fst_phi_loop  ,
true  ,
"When  true,
a phi self loop consumes a symbol"   
)
DEFINE_int64 ( phi_fst_phi_label  ,
,
"Label of transitions to be interpreted as phi ('failure') ""transitions"   
)
DEFINE_string ( phi_fst_rewrite_mode  ,
"auto"  ,
"Rewrite both sides when matching? One of:"" \"auto\"   rewrite iff acceptor,
\"always\"  ,
\"never\""   
)