FST  openfst-1.7.1
OpenFst Library
Namespaces | Macros | Typedefs | Functions
mpdtscript.h File Reference
#include <algorithm>
#include <utility>
#include <vector>
#include <fst/log.h>
#include <fst/compose.h>
#include <fst/util.h>
#include <fst/script/arg-packs.h>
#include <fst/script/fst-class.h>
#include <fst/script/shortest-path.h>
#include <fst/extensions/mpdt/compose.h>
#include <fst/extensions/mpdt/expand.h>
#include <fst/extensions/mpdt/info.h>
#include <fst/extensions/mpdt/reverse.h>
#include <fst/extensions/pdt/pdtscript.h>
Include dependency graph for mpdtscript.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 fst
 
 fst::script
 

Macros

#define REGISTER_FST_MPDT_OPERATIONS(ArcType)
 

Typedefs

using fst::script::MPdtComposeArgs = std::tuple< const FstClass &, const FstClass &, const std::vector< LabelPair > &, const std::vector< int64 > &, MutableFstClass *, const MPdtComposeOptions &, bool >
 
using fst::script::MPdtExpandArgs = std::tuple< const FstClass &, const std::vector< LabelPair > &, const std::vector< int64 > &, MutableFstClass *, const MPdtExpandOptions & >
 
using fst::script::MPdtReverseArgs = std::tuple< const FstClass &, const std::vector< LabelPair > &, std::vector< int64 > *, MutableFstClass * >
 
using fst::script::PrintMPdtInfoArgs = std::tuple< const FstClass &, const std::vector< LabelPair > &, const std::vector< int64 > & >
 

Functions

template<class Arc >
void fst::script::MPdtCompose (MPdtComposeArgs *args)
 
void fst::script::MPdtCompose (const FstClass &ifst1, const FstClass &ifst2, const std::vector< LabelPair > &parens, const std::vector< int64 > &assignments, MutableFstClass *ofst, const MPdtComposeOptions &copts, bool left_pdt)
 
template<class Arc >
void fst::script::MPdtExpand (MPdtExpandArgs *args)
 
void fst::script::MPdtExpand (const FstClass &ifst, const std::vector< LabelPair > &parens, const std::vector< int64 > &assignments, MutableFstClass *ofst, const MPdtExpandOptions &opts)
 
template<class Arc >
void fst::script::MPdtReverse (MPdtReverseArgs *args)
 
void fst::script::MPdtReverse (const FstClass &ifst, const std::vector< LabelPair > &parens, std::vector< int64 > *assignments, MutableFstClass *ofst)
 
template<class Arc >
void fst::script::PrintMPdtInfo (PrintMPdtInfoArgs *args)
 
void fst::script::PrintMPdtInfo (const FstClass &ifst, const std::vector< LabelPair > &parens, const std::vector< int64 > &assignments)
 

Macro Definition Documentation

#define REGISTER_FST_MPDT_OPERATIONS (   ArcType)
Value:
#define REGISTER_FST_OPERATION(Op, Arc, ArgPack)
Definition: script-impl.h:150
std::tuple< const FstClass &, const std::vector< LabelPair > &, std::vector< int64 > *, MutableFstClass * > MPdtReverseArgs
Definition: mpdtscript.h:97
void MPdtReverse(MPdtReverseArgs *args)
Definition: mpdtscript.h:100
void MPdtCompose(MPdtComposeArgs *args)
Definition: mpdtscript.h:40
std::tuple< const FstClass &, const std::vector< LabelPair > &, const std::vector< int64 > &, MutableFstClass *, const MPdtExpandOptions & > MPdtExpandArgs
Definition: mpdtscript.h:69
void PrintMPdtInfo(PrintMPdtInfoArgs *args)
Definition: mpdtscript.h:128
void MPdtExpand(MPdtExpandArgs *args)
Definition: mpdtscript.h:72
std::tuple< const FstClass &, const FstClass &, const std::vector< LabelPair > &, const std::vector< int64 > &, MutableFstClass *, const MPdtComposeOptions &, bool > MPdtComposeArgs
Definition: mpdtscript.h:37
std::tuple< const FstClass &, const std::vector< LabelPair > &, const std::vector< int64 > & > PrintMPdtInfoArgs
Definition: mpdtscript.h:125

Definition at line 151 of file mpdtscript.h.