// See www.openfst.org for extensive documentation on this weighted // finite-state transducer library. #ifndef FST_SCRIPT_TOPSORT_H_ #define FST_SCRIPT_TOPSORT_H_ #include #include #include namespace fst { namespace script { using TopSortArgs = WithReturnValue; template void TopSort(TopSortArgs *args) { args->retval = TopSort(args->args->GetMutableFst()); } bool TopSort(MutableFstClass *fst); } // namespace script } // namespace fst #endif // FST_SCRIPT_TOPSORT_H_