FST  openfst-1.8.3
OpenFst Library
Namespaces | Functions
phi-fst.cc File Reference
#include <fst/extensions/special/phi-fst.h>
#include <fst/flags.h>
#include <fst/arc.h>
#include <fst/register.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\"")
 
 fst::REGISTER_FST (PhiFst, StdArc)
 
 fst::REGISTER_FST (PhiFst, LogArc)
 
 fst::REGISTER_FST (PhiFst, Log64Arc)
 
 fst::REGISTER_FST (InputPhiFst, StdArc)
 
 fst::REGISTER_FST (InputPhiFst, LogArc)
 
 fst::REGISTER_FST (InputPhiFst, Log64Arc)
 
 fst::REGISTER_FST (OutputPhiFst, StdArc)
 
 fst::REGISTER_FST (OutputPhiFst, LogArc)
 
 fst::REGISTER_FST (OutputPhiFst, Log64Arc)
 

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\""   
)