FST  openfst-1.8.1
OpenFst Library
Namespaces | Functions
pdtscript.cc File Reference
#include <fst/extensions/pdt/pdtscript.h>
#include <string>
#include <utility>
#include <vector>
#include <fst/types.h>
#include <fst/extensions/pdt/compose.h>
#include <fst/extensions/pdt/expand.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< std::pair< int64, int64 >> &parens, MutableFstClass *ofst, const PdtComposeOptions &copts, bool left_pdt)
 
 fst::script::REGISTER_FST_OPERATION_3ARCS (PdtCompose, PdtComposeArgs)
 
void fst::script::PdtExpand (const FstClass &ifst, const std::vector< std::pair< int64, int64 >> &parens, MutableFstClass *ofst, const PdtExpandOptions &opts)
 
 fst::script::REGISTER_FST_OPERATION_3ARCS (PdtExpand, PdtExpandArgs)
 
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< std::pair< int64, const FstClass * >> &pairs, MutableFstClass *ofst, std::vector< std::pair< int64, int64 >> *parens, int64 root, PdtParserType parser_type, int64 start_paren_labels, const std::string &left_paren_prefix, const std::string &right_paren_prefix)
 
 fst::script::REGISTER_FST_OPERATION_3ARCS (PdtReplace, PdtReplaceArgs)
 
void fst::script::PdtReverse (const FstClass &ifst, const std::vector< std::pair< int64, int64 >> &parens, MutableFstClass *ofst)
 
 fst::script::REGISTER_FST_OPERATION_3ARCS (PdtReverse, PdtReverseArgs)
 
void fst::script::PdtShortestPath (const FstClass &ifst, const std::vector< std::pair< int64, int64 >> &parens, MutableFstClass *ofst, const PdtShortestPathOptions &opts)
 
 fst::script::REGISTER_FST_OPERATION_3ARCS (PdtShortestPath, PdtShortestPathArgs)
 
void fst::script::PrintPdtInfo (const FstClass &ifst, const std::vector< std::pair< int64, int64 >> &parens)
 
 fst::script::REGISTER_FST_OPERATION_3ARCS (PrintPdtInfo, PrintPdtInfoArgs)