18 #ifndef FST_SCRIPT_COMPOSE_H_ 19 #define FST_SCRIPT_COMPOSE_H_ 29 using FstComposeArgs = std::tuple<
const FstClass &,
const FstClass &,
34 const Fst<Arc> &ifst1 = *std::get<0>(*args).GetFst<Arc>();
35 const Fst<Arc> &ifst2 = *std::get<1>(*args).GetFst<Arc>();
37 const auto &opts = std::get<3>(*args);
38 Compose(ifst1, ifst2, ofst, opts);
41 void Compose(
const FstClass &ifst1,
const FstClass &ifst2,
43 const ComposeOptions &opts = ComposeOptions());
48 #endif // FST_SCRIPT_COMPOSE_H_
std::tuple< const FstClass &, const FstClass &, MutableFstClass *, const ComposeOptions & > FstComposeArgs
void Compose(const FstClass &ifst1, const FstClass &ifst2, const std::vector< std::pair< int64_t, int64_t >> &parens, const std::vector< int64_t > &assignments, MutableFstClass *ofst, const MPdtComposeOptions &copts, bool left_pdt)