// See www.openfst.org for extensive documentation on this weighted // finite-state transducer library. #include #include 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\""); namespace fst { const char phi_fst_type[] = "phi"; const char input_phi_fst_type[] = "input_phi"; const char output_phi_fst_type[] = "output_phi"; static FstRegisterer PhiFst_StdArc_registerer; static FstRegisterer PhiFst_LogArc_registerer; static FstRegisterer PhiFst_Log64Arc_registerer; static FstRegisterer InputPhiFst_StdArc_registerer; static FstRegisterer InputPhiFst_LogArc_registerer; static FstRegisterer InputPhiFst_Log64Arc_registerer; static FstRegisterer OutputPhiFst_StdArc_registerer; static FstRegisterer OutputPhiFst_LogArc_registerer; static FstRegisterer OutputPhiFst_Log64Arc_registerer; } // namespace fst