18 #ifndef FST_SCRIPT_COMPOSE_H_ 19 #define FST_SCRIPT_COMPOSE_H_ 31 using FstComposeArgs = std::tuple<
const FstClass &,
const FstClass &,
36 const Fst<Arc> &ifst1 = *std::get<0>(*args).GetFst<Arc>();
37 const Fst<Arc> &ifst2 = *std::get<1>(*args).GetFst<Arc>();
39 const auto &opts = std::get<3>(*args);
40 Compose(ifst1, ifst2, ofst, opts);
43 void Compose(
const FstClass &ifst1,
const FstClass &ifst2,
45 const ComposeOptions &opts = ComposeOptions());
50 #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)