FST  openfst-1.7.1
OpenFst Library
Namespaces | Functions
pdtscript.cc File Reference
#include <string>
#include <vector>
#include <fst/extensions/pdt/compose.h>
#include <fst/extensions/pdt/expand.h>
#include <fst/extensions/pdt/pdtscript.h>
#include <fst/extensions/pdt/replace.h>
#include <fst/extensions/pdt/reverse.h>
#include <fst/extensions/pdt/shortest-path.h>
#include <fst/script/script-impl.h>
Include dependency graph for pdtscript.cc:

Go to the source code of this file.

Namespaces

 fst
 
 fst::script
 

Functions

void fst::script::PdtCompose (const FstClass &ifst1, const FstClass &ifst2, const std::vector< LabelPair > &parens, MutableFstClass *ofst, const PdtComposeOptions &copts, bool left_pdt)
 
void fst::script::PdtExpand (const FstClass &ifst, const std::vector< LabelPair > &parens, MutableFstClass *ofst, const PdtExpandOptions &opts)
 
void fst::script::PdtExpand (const FstClass &ifst, const std::vector< std::pair< int64, int64 >> &parens, MutableFstClass *ofst, bool connect, bool keep_parentheses, const WeightClass &weight_threshold)
 
void fst::script::PdtReplace (const std::vector< LabelFstClassPair > &pairs, MutableFstClass *ofst, std::vector< LabelPair > *parens, int64 root, PdtParserType parser_type, int64 start_paren_labels, const string &left_paren_prefix, const string &right_paren_prefix)
 
void fst::script::PdtReverse (const FstClass &ifst, const std::vector< LabelPair > &parens, MutableFstClass *ofst)
 
void fst::script::PdtShortestPath (const FstClass &ifst, const std::vector< LabelPair > &parens, MutableFstClass *ofst, const PdtShortestPathOptions &opts)
 
void fst::script::PrintPdtInfo (const FstClass &ifst, const std::vector< LabelPair > &parens)
 
 fst::script::REGISTER_FST_PDT_OPERATIONS (StdArc)
 
 fst::script::REGISTER_FST_PDT_OPERATIONS (LogArc)
 
 fst::script::REGISTER_FST_PDT_OPERATIONS (Log64Arc)