// See www.openfst.org for extensive documentation on this weighted // finite-state transducer library. #ifndef FST_EXTENSIONS_SPECIAL_RHO_FST_H_ #define FST_EXTENSIONS_SPECIAL_RHO_FST_H_ #include #include #include #include #include DECLARE_int64(rho_fst_rho_label); DECLARE_string(rho_fst_rewrite_mode); namespace fst { namespace internal { template class RhoFstMatcherData { public: explicit RhoFstMatcherData( Label rho_label = FLAGS_rho_fst_rho_label, MatcherRewriteMode rewrite_mode = RewriteMode(FLAGS_rho_fst_rewrite_mode)) : rho_label_(rho_label), rewrite_mode_(rewrite_mode) {} RhoFstMatcherData(const RhoFstMatcherData &data) : rho_label_(data.rho_label_), rewrite_mode_(data.rewrite_mode_) {} static RhoFstMatcherData