FST  openfst-1.7.0
OpenFst Library
Namespaces | Classes | Typedefs | Enumerations | Functions
fst::script Namespace Reference

Namespaces

 internal
 

Classes

class  AllFstOperationsRegisterer
 
struct  ArcClass
 
class  ArcIteratorClass
 
class  ArcIteratorClassImpl
 
class  ArcIteratorImplBase
 
struct  CompileFstInnerArgs
 
struct  DeterminizeOptions
 
struct  DisambiguateOptions
 
class  EncodeMapperClass
 
class  EncodeMapperClassImpl
 
class  EncodeMapperImplBase
 
struct  FarCompileStringsArgs
 
struct  FarCreateArgs
 
struct  FarPrintStringsArgs
 
class  FarReaderClass
 
class  FarReaderClassImpl
 
class  FarReaderImplBase
 
class  FarWriterClass
 
class  FarWriterClassImpl
 
class  FarWriterImplBase
 
class  FstClass
 
class  FstClassBase
 
class  FstClassImpl
 
class  FstClassImplBase
 
class  FstClassIORegister
 
struct  FstClassRegEntry
 
struct  FstDrawerArgs
 
struct  FstPrinterArgs
 
class  GenericOperationRegister
 
struct  IORegistration
 
class  MutableArcIteratorClass
 
class  MutableArcIteratorClassImpl
 
class  MutableArcIteratorImplBase
 
class  MutableFstClass
 
struct  Operation
 
struct  PdtExpandOptions
 
struct  PdtShortestPathOptions
 
struct  ReplaceOptions
 
struct  RmEpsilonOptions
 
struct  ShortestDistanceOptions
 
struct  ShortestPathOptions
 
class  StateIteratorClass
 
class  StateIteratorClassImpl
 
class  StateIteratorImplBase
 
class  VectorFstClass
 
class  WeightClass
 
class  WeightClassImpl
 
class  WeightClassRegister
 
class  WeightImplBase
 
struct  WithReturnValue
 

Typedefs

typedef std::tuple< const FstClass &, const string &, const bool > CompressArgs
 
typedef std::tuple< const string &, MutableFstClass *, const bool > DecompressArgs
 
using OpenFarReaderClassArgs = WithReturnValue< FarReaderClass *, const std::vector< string > & >
 
using CreateFarWriterClassInnerArgs = std::pair< const string &, FarType >
 
using CreateFarWriterClassArgs = WithReturnValue< FarWriterClass *, CreateFarWriterClassInnerArgs >
 
using FarEqualInnerArgs = std::tuple< const string &, const string &, float, const string &, const string & >
 
using FarEqualArgs = WithReturnValue< bool, FarEqualInnerArgs >
 
using FarExtractArgs = std::tuple< const std::vector< string > &, int32, const string &, const string &, const string &, const string &, const string & >
 
using FarInfoArgs = std::tuple< const std::vector< string > &, const string &, const string &, const bool >
 
using GetFarInfoArgs = std::tuple< const std::vector< string > &, const string &, const string &, const bool, FarInfoData * >
 
using FarIsomorphicInnerArgs = std::tuple< const string &, const string &, float, const string &, const string & >
 
using FarIsomorphicArgs = WithReturnValue< bool, FarIsomorphicInnerArgs >
 
typedef std::tuple< const string &, const string &, const string &, char **, int, const string &, const string &, const string &, const string & > LinearCompileArgs
 
using MPdtComposeArgs = std::tuple< const FstClass &, const FstClass &, const std::vector< LabelPair > &, const std::vector< int64 > &, MutableFstClass *, const MPdtComposeOptions &, bool >
 
using MPdtExpandArgs = std::tuple< const FstClass &, const std::vector< LabelPair > &, const std::vector< int64 > &, MutableFstClass *, const MPdtExpandOptions & >
 
using MPdtReverseArgs = std::tuple< const FstClass &, const std::vector< LabelPair > &, std::vector< int64 > *, MutableFstClass * >
 
using PrintMPdtInfoArgs = std::tuple< const FstClass &, const std::vector< LabelPair > &, const std::vector< int64 > & >
 
using PdtComposeArgs = std::tuple< const FstClass &, const FstClass &, const std::vector< LabelPair > &, MutableFstClass *, const PdtComposeOptions &, bool >
 
using PdtExpandArgs = std::tuple< const FstClass &, const std::vector< LabelPair > &, MutableFstClass *, const PdtExpandOptions & >
 
using PdtReplaceArgs = std::tuple< const std::vector< LabelFstClassPair > &, MutableFstClass *, std::vector< LabelPair > *, int64, PdtParserType, int64, const string &, const string & >
 
using PdtReverseArgs = std::tuple< const FstClass &, const std::vector< LabelPair > &, MutableFstClass * >
 
using PdtShortestPathArgs = std::tuple< const FstClass &, const std::vector< LabelPair > &, MutableFstClass *, const PdtShortestPathOptions & >
 
using PrintPdtInfoArgs = std::pair< const FstClass &, const std::vector< LabelPair > & >
 
using InitArcIteratorClassArgs = std::tuple< const FstClass &, int64, ArcIteratorClass * >
 
using InitMutableArcIteratorClassArgs = std::tuple< MutableFstClass *, int64, MutableArcIteratorClass * >
 
using ArcSortArgs = std::pair< MutableFstClass *, ArcSortType >
 
using ClosureArgs = std::pair< MutableFstClass *, const ClosureType >
 
using CompileFstArgs = WithReturnValue< FstClass *, CompileFstInnerArgs >
 
using ComposeArgs = std::tuple< const FstClass &, const FstClass &, MutableFstClass *, const ComposeOptions & >
 
using ConcatArgs1 = std::pair< MutableFstClass *, const FstClass & >
 
using ConcatArgs2 = std::pair< const FstClass &, MutableFstClass * >
 
using ConvertInnerArgs = std::pair< const FstClass &, const string & >
 
using ConvertArgs = WithReturnValue< FstClass *, ConvertInnerArgs >
 
using DecodeArgs1 = std::pair< MutableFstClass *, const string & >
 
using DecodeArgs2 = std::pair< MutableFstClass *, const EncodeMapperClass & >
 
using DeterminizeArgs = std::tuple< const FstClass &, MutableFstClass *, const DeterminizeOptions & >
 
using DifferenceArgs = std::tuple< const FstClass &, const FstClass &, MutableFstClass *, const ComposeOptions & >
 
using DisambiguateArgs = std::tuple< const FstClass &, MutableFstClass *, const DisambiguateOptions & >
 
using EncodeArgs1 = std::tuple< MutableFstClass *, uint32, bool, const string & >
 
using EncodeArgs2 = std::pair< MutableFstClass *, EncodeMapperClass * >
 
using InitEncodeMapperClassArgs = std::tuple< uint32, EncodeType, EncodeMapperClass * >
 
using EpsNormalizeArgs = std::tuple< const FstClass &, MutableFstClass *, EpsNormalizeType >
 
using EqualInnerArgs = std::tuple< const FstClass &, const FstClass &, float >
 
using EqualArgs = WithReturnValue< bool, EqualInnerArgs >
 
using EquivalentInnerArgs = std::tuple< const FstClass &, const FstClass &, float >
 
using EquivalentArgs = WithReturnValue< bool, EquivalentInnerArgs >
 
using InfoArgs = std::tuple< const FstClass &, bool, const string &, const string &, bool, bool >
 
using GetInfoArgs = std::tuple< const FstClass &, bool, const string &, const string &, bool, FstInfo * >
 
using IntersectArgs = std::tuple< const FstClass &, const FstClass &, MutableFstClass *, const ComposeOptions & >
 
using IsomorphicInnerArgs = std::tuple< const FstClass &, const FstClass &, float >
 
using IsomorphicArgs = WithReturnValue< bool, IsomorphicInnerArgs >
 
using MapInnerArgs = std::tuple< const FstClass &, MapType, float, double, const WeightClass & >
 
using MapArgs = WithReturnValue< FstClass *, MapInnerArgs >
 
using MinimizeArgs = std::tuple< MutableFstClass *, MutableFstClass *, float, bool >
 
using ProjectArgs = std::pair< MutableFstClass *, ProjectType >
 
using PruneArgs1 = std::tuple< const FstClass &, MutableFstClass *, const WeightClass &, int64, float >
 
using PruneArgs2 = std::tuple< MutableFstClass *, const WeightClass &, int64, float >
 
using PushArgs1 = std::tuple< MutableFstClass *, ReweightType, float, bool >
 
using PushArgs2 = std::tuple< const FstClass &, MutableFstClass *, uint32, ReweightType, float >
 
using RandEquivalentInnerArgs = std::tuple< const FstClass &, const FstClass &, int32, float, time_t, const RandGenOptions< RandArcSelection > & >
 
using RandEquivalentArgs = WithReturnValue< bool, RandEquivalentInnerArgs >
 
using RandGenArgs = std::tuple< const FstClass &, MutableFstClass *, time_t, const RandGenOptions< RandArcSelection > & >
 
using RelabelArgs1 = std::tuple< MutableFstClass *, const SymbolTable *, const SymbolTable *, const string &, bool, const SymbolTable *, const SymbolTable *, const string &, bool >
 
using LabelPair = std::pair< int64, int64 >
 
using RelabelArgs2 = std::tuple< MutableFstClass *, const std::vector< LabelPair > &, const std::vector< LabelPair > & >
 
using LabelFstClassPair = std::pair< int64, const FstClass * >
 
using ReplaceArgs = std::tuple< const std::vector< LabelFstClassPair > &, MutableFstClass *, const ReplaceOptions & >
 
using ReverseArgs = std::tuple< const FstClass &, MutableFstClass *, bool >
 
using ReweightArgs = std::tuple< MutableFstClass *, const std::vector< WeightClass > &, ReweightType >
 
using RmEpsilonArgs = std::pair< MutableFstClass *, const RmEpsilonOptions & >
 
using ShortestDistanceArgs1 = std::tuple< const FstClass &, std::vector< WeightClass > *, const ShortestDistanceOptions & >
 
using ShortestDistanceArgs2 = std::tuple< const FstClass &, std::vector< WeightClass > *, bool, double >
 
using ShortestPathArgs = std::tuple< const FstClass &, MutableFstClass *, const ShortestPathOptions & >
 
using InitStateIteratorClassArgs = std::pair< const FstClass &, StateIteratorClass * >
 
using SynchronizeArgs = std::pair< const FstClass &, MutableFstClass * >
 
using TopSortArgs = WithReturnValue< bool, MutableFstClass * >
 
using UnionArgs = std::pair< MutableFstClass *, const FstClass & >
 
using VerifyArgs = WithReturnValue< bool, const FstClass & >
 
using StrToWeightImplBaseT = WeightImplBase *(*)(const string &str, const string &src, size_t nline)
 
using WeightClassRegisterer = GenericRegisterer< WeightClassRegister >
 

Enumerations

enum  ArcSortType { ILABEL_SORT, OLABEL_SORT }
 
enum  MapType {
  ARC_SUM_MAPPER, ARC_UNIQUE_MAPPER, IDENTITY_MAPPER, INPUT_EPSILON_MAPPER,
  INVERT_MAPPER, OUTPUT_EPSILON_MAPPER, PLUS_MAPPER, POWER_MAPPER,
  QUANTIZE_MAPPER, RMWEIGHT_MAPPER, SUPERFINAL_MAPPER, TIMES_MAPPER,
  TO_LOG_MAPPER, TO_LOG64_MAPPER, TO_STD_MAPPER
}
 
enum  RandArcSelection { UNIFORM_ARC_SELECTOR, LOG_PROB_ARC_SELECTOR, FAST_LOG_PROB_ARC_SELECTOR }
 
enum  ArcFilterType { ANY_ARC_FILTER, EPSILON_ARC_FILTER, INPUT_EPSILON_ARC_FILTER, OUTPUT_EPSILON_ARC_FILTER }
 

Functions

void Compress (const FstClass &fst, const string &filename, const bool gzip)
 
void Decompress (const string &filename, MutableFstClass *fst, const bool gzip)
 
 REGISTER_FST_OPERATION (Compress, StdArc, CompressArgs)
 
 REGISTER_FST_OPERATION (Compress, LogArc, CompressArgs)
 
 REGISTER_FST_OPERATION (Compress, Log64Arc, CompressArgs)
 
 REGISTER_FST_OPERATION (Decompress, StdArc, DecompressArgs)
 
 REGISTER_FST_OPERATION (Decompress, LogArc, DecompressArgs)
 
 REGISTER_FST_OPERATION (Decompress, Log64Arc, DecompressArgs)
 
 REGISTER_FST_OPERATION (OpenFarReaderClass, StdArc, OpenFarReaderClassArgs)
 
 REGISTER_FST_OPERATION (OpenFarReaderClass, LogArc, OpenFarReaderClassArgs)
 
 REGISTER_FST_OPERATION (OpenFarReaderClass, Log64Arc, OpenFarReaderClassArgs)
 
 REGISTER_FST_OPERATION (CreateFarWriterClass, StdArc, CreateFarWriterClassArgs)
 
 REGISTER_FST_OPERATION (CreateFarWriterClass, LogArc, CreateFarWriterClassArgs)
 
 REGISTER_FST_OPERATION (CreateFarWriterClass, Log64Arc, CreateFarWriterClassArgs)
 
void FarCompileStrings (const std::vector< string > &in_fnames, const string &out_fname, const string &arc_type, const string &fst_type, const FarType &far_type, int32 generate_keys, FarEntryType fet, FarTokenType tt, const string &symbols_fname, const string &unknown_symbol, bool keep_symbols, bool initial_symbols, bool allow_negative_labels, const string &key_prefix, const string &key_suffix)
 
void FarCreate (const std::vector< string > &in_fnames, const string &out_fname, const string &arc_type, const int32 generate_keys, const FarType &far_type, const string &key_prefix, const string &key_suffix)
 
bool FarEqual (const string &filename1, const string &filename2, const string &arc_type, float delta, const string &begin_key, const string &end_key)
 
void FarExtract (const std::vector< string > &ifilenames, const string &arc_type, int32 generate_filenames, const string &keys, const string &key_separator, const string &range_delimiter, const string &filename_prefix, const string &filename_suffix)
 
void FarInfo (const std::vector< string > &filenames, const string &arc_type, const string &begin_key, const string &end_key, const bool list_fsts)
 
void GetFarInfo (const std::vector< string > &filenames, const string &arc_type, const string &begin_key, const string &end_key, const bool list_fsts, FarInfoData *data)
 
bool FarIsomorphic (const string &filename1, const string &filename2, const string &arc_type, float delta, const string &begin_key, const string &end_key)
 
void FarPrintStrings (const std::vector< string > &ifilenames, const string &arc_type, const FarEntryType entry_type, const FarTokenType token_type, const string &begin_key, const string &end_key, const bool print_key, const bool print_weight, const string &symbols_fname, const bool initial_symbols, const int32 generate_filenames, const string &filename_prefix, const string &filename_suffix)
 
 REGISTER_FST_FAR_OPERATIONS (StdArc)
 
 REGISTER_FST_FAR_OPERATIONS (LogArc)
 
 REGISTER_FST_FAR_OPERATIONS (Log64Arc)
 
FarType GetFarType (const string &str)
 
bool GetFarEntryType (const string &str, FarEntryType *entry_type)
 
bool GetFarTokenType (const string &str, FarTokenType *token_type)
 
void ExpandArgs (int argc, char **argv, int *argcp, char ***argvp)
 
string LoadArcTypeFromFar (const string &far_fname)
 
string LoadArcTypeFromFst (const string &fst_fname)
 
bool ValidateDelimiter ()
 
bool ValidateEmptySymbol ()
 
void LinearCompile (const string &arc_type, const string &epsilon_symbol, const string &unknown_symbol, const string &vocab, char **models, int models_len, const string &out, const string &save_isymbols, const string &save_fsymbols, const string &save_osymbols)
 
 REGISTER_FST_LINEAR_OPERATIONS (StdArc)
 
 REGISTER_FST_LINEAR_OPERATIONS (LogArc)
 
void SplitByWhitespace (const string &str, std::vector< string > *out)
 
int ScanNumClasses (char **models, int models_len)
 
void 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)
 
void MPdtExpand (const FstClass &ifst, const std::vector< LabelPair > &parens, const std::vector< int64 > &assignments, MutableFstClass *ofst, const MPdtExpandOptions &opts)
 
void MPdtExpand (const FstClass &ifst, const std::vector< LabelPair > &parens, const std::vector< int64 > &assignments, MutableFstClass *ofst, bool connect)
 
void MPdtReverse (const FstClass &ifst, const std::vector< LabelPair > &parens, std::vector< int64 > *assignments, MutableFstClass *ofst)
 
void PrintMPdtInfo (const FstClass &ifst, const std::vector< LabelPair > &parens, const std::vector< int64 > &assignments)
 
 REGISTER_FST_MPDT_OPERATIONS (StdArc)
 
 REGISTER_FST_MPDT_OPERATIONS (LogArc)
 
 REGISTER_FST_MPDT_OPERATIONS (Log64Arc)
 
bool GetPdtComposeFilter (const string &str, PdtComposeFilter *cf)
 
bool GetPdtParserType (const string &str, PdtParserType *pt)
 
void PdtCompose (const FstClass &ifst1, const FstClass &ifst2, const std::vector< LabelPair > &parens, MutableFstClass *ofst, const PdtComposeOptions &copts, bool left_pdt)
 
void PdtExpand (const FstClass &ifst, const std::vector< LabelPair > &parens, MutableFstClass *ofst, const PdtExpandOptions &opts)
 
void PdtExpand (const FstClass &ifst, const std::vector< std::pair< int64, int64 >> &parens, MutableFstClass *ofst, bool connect, bool keep_parentheses, const WeightClass &weight_threshold)
 
void 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 PdtReverse (const FstClass &ifst, const std::vector< LabelPair > &parens, MutableFstClass *ofst)
 
void PdtShortestPath (const FstClass &ifst, const std::vector< LabelPair > &parens, MutableFstClass *ofst, const PdtShortestPathOptions &opts)
 
void PrintPdtInfo (const FstClass &ifst, const std::vector< LabelPair > &parens)
 
 REGISTER_FST_PDT_OPERATIONS (StdArc)
 
 REGISTER_FST_PDT_OPERATIONS (LogArc)
 
 REGISTER_FST_PDT_OPERATIONS (Log64Arc)
 
template<class Arc >
void Compress (CompressArgs *args)
 
template<class Arc >
void Decompress (DecompressArgs *args)
 
template<class Arc >
void OpenFarReaderClass (OpenFarReaderClassArgs *args)
 
template<class Arc >
void CreateFarWriterClass (CreateFarWriterClassArgs *args)
 
template<class Arc >
void FarCompileStrings (FarCompileStringsArgs *args)
 
template<class Arc >
void FarCreate (FarCreateArgs *args)
 
template<class Arc >
void FarEqual (FarEqualArgs *args)
 
template<class Arc >
void FarExtract (FarExtractArgs *args)
 
template<class Arc >
void FarInfo (FarInfoArgs *args)
 
template<class Arc >
void GetFarInfo (GetFarInfoArgs *args)
 
template<class Arc >
void FarIsomorphic (FarIsomorphicArgs *args)
 
template<class Arc >
void FarPrintStrings (FarPrintStringsArgs *args)
 
template<class Arc >
Arc::Label LookUp (const string &str, SymbolTable *syms)
 
template<class Arc >
void SplitAndPush (const string &str, const char delim, SymbolTable *syms, std::vector< typename Arc::Label > *output)
 
template<class InputIterator , class OutputIterator , class T >
size_t ReplaceCopy (InputIterator first, InputIterator last, OutputIterator result, const T &old_value, const T &new_value)
 
template<class Arc >
bool GetVocabRecord (const string &vocab, std::istream &strm, SymbolTable *isyms, SymbolTable *fsyms, SymbolTable *osyms, typename Arc::Label *word, std::vector< typename Arc::Label > *feature_labels, std::vector< typename Arc::Label > *possible_labels, size_t *num_line)
 
template<class Arc >
bool GetModelRecord (const string &model, std::istream &strm, SymbolTable *fsyms, SymbolTable *osyms, std::vector< typename Arc::Label > *input_labels, std::vector< typename Arc::Label > *output_labels, typename Arc::Weight *weight, size_t *num_line)
 
template<class Arc >
void AddVocab (const string &vocab, SymbolTable *isyms, SymbolTable *fsyms, SymbolTable *osyms, LinearFstDataBuilder< Arc > *builder)
 
template<class Arc >
void AddVocab (const string &vocab, SymbolTable *isyms, SymbolTable *fsyms, SymbolTable *osyms, LinearClassifierFstDataBuilder< Arc > *builder)
 
template<class Arc >
void AddModel (const string &model, SymbolTable *fsyms, SymbolTable *osyms, LinearFstDataBuilder< Arc > *builder)
 
template<class Arc >
void AddModel (const string &model, SymbolTable *fsyms, SymbolTable *osyms, LinearClassifierFstDataBuilder< Arc > *builder)
 
template<class Arc >
void LinearCompileTpl (LinearCompileArgs *args)
 
template<class Arc >
void MPdtCompose (MPdtComposeArgs *args)
 
template<class Arc >
void MPdtExpand (MPdtExpandArgs *args)
 
template<class Arc >
void MPdtReverse (MPdtReverseArgs *args)
 
template<class Arc >
void PrintMPdtInfo (PrintMPdtInfoArgs *args)
 
template<class Arc >
void PdtCompose (PdtComposeArgs *args)
 
template<class Arc >
void PdtExpand (PdtExpandArgs *args)
 
void PdtExpand (const FstClass &ifst, const std::vector< LabelPair > &parens, MutableFstClass *ofst, bool connect, bool keep_parentheses, const WeightClass &weight_threshold)
 
template<class Arc >
void PdtReplace (PdtReplaceArgs *args)
 
template<class Arc >
void PdtReverse (PdtReverseArgs *args)
 
template<class Arc >
void PdtShortestPath (PdtShortestPathArgs *args)
 
template<class Arc >
void PrintPdtInfo (PrintPdtInfoArgs *args)
 
template<class Arc >
void InitArcIteratorClass (InitArcIteratorClassArgs *args)
 
template<class Arc >
void InitMutableArcIteratorClass (InitMutableArcIteratorClassArgs *args)
 
template<class Arc >
void ArcSort (ArcSortArgs *args)
 
void ArcSort (MutableFstClass *ofst, ArcSortType)
 
template<class Arc >
void Closure (ClosureArgs *args)
 
void Closure (MutableFstClass *ofst, ClosureType closure_type)
 
template<class Arc >
void CompileFstInternal (CompileFstArgs *args)
 
void CompileFst (std::istream &istrm, const string &source, const string &dest, const string &fst_type, const string &arc_type, const SymbolTable *isyms, const SymbolTable *osyms, const SymbolTable *ssyms, bool accep, bool ikeep, bool okeep, bool nkeep, bool allow_negative_labels)
 
FstClassCompileFstInternal (std::istream &istrm, const string &source, const string &fst_type, const string &arc_type, const SymbolTable *isyms, const SymbolTable *osyms, const SymbolTable *ssyms, bool accep, bool ikeep, bool okeep, bool nkeep, bool allow_negative_labels)
 
template<class Arc >
void Compose (ComposeArgs *args)
 
void Compose (const FstClass &ifst1, const FstClass &ifst2, MutableFstClass *ofst, const ComposeOptions &opts=ComposeOptions())
 
template<class Arc >
void Concat (ConcatArgs1 *args)
 
template<class Arc >
void Concat (ConcatArgs2 *args)
 
void Concat (MutableFstClass *ofst, const FstClass &ifst)
 
void Concat (const FstClass &ifst, MutableFstClass *ofst)
 
template<class Arc >
void Connect (MutableFstClass *fst)
 
template<class Arc >
void Convert (ConvertArgs *args)
 
FstClassConvert (const FstClass &fst, const string &new_type)
 
template<class Arc >
void Decode (DecodeArgs1 *args)
 
template<class Arc >
void Decode (DecodeArgs2 *args)
 
void Decode (MutableFstClass *fst, const string &coder_fname)
 
void Decode (MutableFstClass *fst, const EncodeMapperClass &encoder)
 
template<class Arc >
void Determinize (DeterminizeArgs *args)
 
void Determinize (const FstClass &ifst, MutableFstClass *ofst, const DeterminizeOptions &opts)
 
template<class Arc >
void Difference (DifferenceArgs *args)
 
void Difference (const FstClass &ifst1, const FstClass &ifst2, MutableFstClass *ofst, const ComposeOptions &opts=ComposeOptions())
 
template<class Arc >
void Disambiguate (DisambiguateArgs *args)
 
void Disambiguate (const FstClass &ifst, MutableFstClass *ofst, const DisambiguateOptions &opts)
 
template<class Arc >
void DrawFst (FstDrawerArgs *args)
 
void DrawFst (const FstClass &fst, const SymbolTable *isyms, const SymbolTable *osyms, const SymbolTable *ssyms, bool accep, const string &title, float width, float height, bool portrait, bool vertical, float ranksep, float nodesep, int fontsize, int precision, const string &float_format, bool show_weight_one, std::ostream *ostrm, const string &dest)
 
template<class Arc >
void Encode (EncodeArgs1 *args)
 
template<class Arc >
void Encode (EncodeArgs2 *args)
 
void Encode (MutableFstClass *fst, uint32 flags, bool reuse_encoder, const string &coder_fname)
 
void Encode (MutableFstClass *fst, EncodeMapperClass *encoder)
 
template<class Arc >
void InitEncodeMapperClass (InitEncodeMapperClassArgs *args)
 
template<class Arc >
void EpsNormalize (EpsNormalizeArgs *args)
 
void EpsNormalize (const FstClass &ifst, MutableFstClass *ofst, EpsNormalizeType norm_type=EPS_NORM_INPUT)
 
template<class Arc >
void Equal (EqualArgs *args)
 
bool Equal (const FstClass &fst1, const FstClass &fst2, float delta=kDelta)
 
template<class Arc >
void Equivalent (EquivalentArgs *args)
 
bool Equivalent (const FstClass &fst1, const FstClass &fst2, float delta=kDelta)
 
bool GetArcSortType (const string &str, ArcSortType *sort_type)
 
ClosureType GetClosureType (bool closure_plus)
 
bool GetComposeFilter (const string &str, ComposeFilter *compose_filter)
 
bool GetDeterminizeType (const string &str, DeterminizeType *det_type)
 
uint32 GetEncodeFlags (bool encode_labels, bool encode_weights)
 
EpsNormalizeType GetEpsNormalizeType (bool eps_norm_output)
 
bool GetMapType (const string &str, MapType *map_type)
 
ProjectType GetProjectType (bool project_output)
 
uint32 GetPushFlags (bool push_weights, bool push_labels, bool remove_total_weight, bool remove_common_affix)
 
bool GetQueueType (const string &str, QueueType *queue_type)
 
bool GetRandArcSelection (const string &str, RandArcSelection *ras)
 
bool GetReplaceLabelType (const string &str, bool epsilon_on_replace, ReplaceLabelType *rlt)
 
ReweightType GetReweightType (bool to_final)
 
template<class Arc >
void PrintFstInfo (InfoArgs *args)
 
void PrintFstInfo (const FstClass &f, bool test_properties, const string &arc_filter, const string &info_type, bool pipe, bool verify)
 
template<class Arc >
void GetFstInfo (GetInfoArgs *args)
 
void GetFstInfo (const FstClass &fst, bool test_properties, const string &arc_filter, const string &info_type, bool verify, FstInfo *info)
 
template<class Arc >
void Intersect (IntersectArgs *args)
 
void Intersect (const FstClass &ifst, const FstClass &ifst2, MutableFstClass *ofst, const ComposeOptions &opts=ComposeOptions())
 
template<class Arc >
void Invert (MutableFstClass *fst)
 
template<class Arc >
void Isomorphic (IsomorphicArgs *args)
 
bool Isomorphic (const FstClass &fst1, const FstClass &fst2, float delta=kDelta)
 
template<class M >
Fst< typename M::ToArc > * ArcMap (const Fst< typename M::FromArc > &fst, const M &mapper)
 
template<class M >
Fst< typename M::ToArc > * StateMap (const Fst< typename M::FromArc > &fst, const M &mapper)
 
template<class Arc >
void Map (MapArgs *args)
 
FstClassMap (const FstClass &ifst, MapType map_type, float delta, double power, const WeightClass &weight)
 
template<class Arc >
void Minimize (MinimizeArgs *args)
 
void Minimize (MutableFstClass *ofst1, MutableFstClass *ofst2=nullptr, float delta=kShortestDelta, bool allow_nondet=false)
 
template<class Arc >
void PrintFst (FstPrinterArgs *args)
 
void PrintFst (const FstClass &fst, std::ostream &ostrm, const string &dest, const SymbolTable *isyms, const SymbolTable *osyms, const SymbolTable *ssyms, bool accept, bool show_weight_one, const string &missing_sym="")
 
template<class Arc >
void PrintFst (const Fst< Arc > &fst, std::ostream &ostrm, const string &dest="", const SymbolTable *isyms=nullptr, const SymbolTable *osyms=nullptr, const SymbolTable *ssyms=nullptr)
 
template<class Arc >
void Project (ProjectArgs *args)
 
void Project (MutableFstClass *fst, ProjectType project_type)
 
template<class Arc >
void Prune (PruneArgs1 *args)
 
template<class Arc >
void Prune (PruneArgs2 *args)
 
void Prune (const FstClass &ifst, MutableFstClass *ofst, const WeightClass &weight_threshold, int64 state_threshold=kNoStateId, float delta=kDelta)
 
void Prune (MutableFstClass *fst, const WeightClass &weight_threshold, int64 state_threshold=kNoStateId, float delta=kDelta)
 
template<class Arc >
void Push (PushArgs1 *args)
 
template<class Arc >
void Push (PushArgs2 *args)
 
void Push (MutableFstClass *fst, ReweightType rew_type, float delta=kDelta, bool remove_total_weight=false)
 
void Push (const FstClass &ifst, MutableFstClass *ofst, uint32 flags, ReweightType rew_type, float delta=kDelta)
 
template<class Arc >
void RandEquivalent (RandEquivalentArgs *args)
 
bool RandEquivalent (const FstClass &fst1, const FstClass &fst2, int32 npath=1, float delta=kDelta, time_t seed=time(nullptr), const RandGenOptions< RandArcSelection > &opts=RandGenOptions< RandArcSelection >(UNIFORM_ARC_SELECTOR))
 
template<class Arc >
void RandGen (RandGenArgs *args)
 
void RandGen (const FstClass &ifst, MutableFstClass *ofst, time_t seed=time(nullptr), const RandGenOptions< RandArcSelection > &opts=RandGenOptions< RandArcSelection >(UNIFORM_ARC_SELECTOR))
 
template<class Arc >
void Relabel (RelabelArgs1 *args)
 
template<class Arc >
void Relabel (RelabelArgs2 *args)
 
void Relabel (MutableFstClass *ofst, const SymbolTable *old_isymbols, const SymbolTable *new_isymbols, const string &unknown_isymbol, bool attach_new_isymbols, const SymbolTable *old_osymbols, const SymbolTable *new_osymbols, const string &unknown_osymbol, bool attach_new_osymbols)
 
void Relabel (MutableFstClass *ofst, const std::vector< LabelPair > &ipairs, const std::vector< LabelPair > &opairs)
 
template<class Arc >
void Replace (ReplaceArgs *args)
 
void Replace (const std::vector< LabelFstClassPair > &pairs, MutableFstClass *ofst, const ReplaceOptions &opts)
 
template<class Arc >
void Reverse (ReverseArgs *args)
 
void Reverse (const FstClass &ifst, MutableFstClass *ofst, bool require_superinitial=true)
 
template<class Arc >
void Reweight (ReweightArgs *args)
 
void Reweight (MutableFstClass *fst, const std::vector< WeightClass > &potentials, ReweightType reweight_type)
 
template<class Arc >
void RmEpsilon (RmEpsilonArgs *args)
 
void RmEpsilon (MutableFstClass *fst, const RmEpsilonOptions &opts)
 
template<class OpReg >
void Apply (const string &op_name, const string &arc_type, typename OpReg::ArgPack *args)
 
template<class Arc >
void ShortestDistance (ShortestDistanceArgs1 *args)
 
template<class Arc >
void ShortestDistance (ShortestDistanceArgs2 *args)
 
void ShortestDistance (const FstClass &fst, std::vector< WeightClass > *distance, const ShortestDistanceOptions &opts)
 
void ShortestDistance (const FstClass &ifst, std::vector< WeightClass > *distance, bool reverse=false, double delta=fst::kShortestDelta)
 
template<class Arc >
void ShortestPath (ShortestPathArgs *args)
 
void ShortestPath (const FstClass &ifst, MutableFstClass *ofst, const ShortestPathOptions &opts)
 
template<class Arc >
void InitStateIteratorClass (InitStateIteratorClassArgs *args)
 
template<class Arc >
void Synchronize (SynchronizeArgs *args)
 
void Synchronize (const FstClass &ifst, MutableFstClass *ofst)
 
bool ReadPotentials (const string &weight_type, const string &filename, std::vector< WeightClass > *potentials)
 
bool WritePotentials (const string &filename, const std::vector< WeightClass > &potentials)
 
template<class Arc >
void TopSort (TopSortArgs *args)
 
bool TopSort (MutableFstClass *fst)
 
template<class Arc >
void Union (UnionArgs *args)
 
void Union (MutableFstClass *fst1, const FstClass &fst2)
 
template<class Arc >
void Verify (VerifyArgs *args)
 
bool Verify (const FstClass &fst)
 
bool operator== (const WeightClass &lhs, const WeightClass &rhs)
 
bool operator!= (const WeightClass &lhs, const WeightClass &rhs)
 
WeightClass Plus (const WeightClass &lhs, const WeightClass &rhs)
 
WeightClass Times (const WeightClass &lhs, const WeightClass &rhs)
 
WeightClass Divide (const WeightClass &lhs, const WeightClass &rhs)
 
WeightClass Power (const WeightClass &w, size_t n)
 
std::ostream & operator<< (std::ostream &o, const WeightClass &c)
 
template<class W >
WeightImplBaseStrToWeightImplBase (const string &str, const string &src, size_t nline)
 
 REGISTER_FST_OPERATION (InitArcIteratorClass, StdArc, InitArcIteratorClassArgs)
 
 REGISTER_FST_OPERATION (InitArcIteratorClass, LogArc, InitArcIteratorClassArgs)
 
 REGISTER_FST_OPERATION (InitArcIteratorClass, Log64Arc, InitArcIteratorClassArgs)
 
 REGISTER_FST_OPERATION (InitMutableArcIteratorClass, StdArc, InitMutableArcIteratorClassArgs)
 
 REGISTER_FST_OPERATION (InitMutableArcIteratorClass, LogArc, InitMutableArcIteratorClassArgs)
 
 REGISTER_FST_OPERATION (InitMutableArcIteratorClass, Log64Arc, InitMutableArcIteratorClassArgs)
 
 REGISTER_FST_OPERATION (ArcSort, StdArc, ArcSortArgs)
 
 REGISTER_FST_OPERATION (ArcSort, LogArc, ArcSortArgs)
 
 REGISTER_FST_OPERATION (ArcSort, Log64Arc, ArcSortArgs)
 
 REGISTER_FST_OPERATION (Closure, StdArc, ClosureArgs)
 
 REGISTER_FST_OPERATION (Closure, LogArc, ClosureArgs)
 
 REGISTER_FST_OPERATION (Closure, Log64Arc, ClosureArgs)
 
 REGISTER_FST_OPERATION (CompileFstInternal, StdArc, CompileFstArgs)
 
 REGISTER_FST_OPERATION (CompileFstInternal, LogArc, CompileFstArgs)
 
 REGISTER_FST_OPERATION (CompileFstInternal, Log64Arc, CompileFstArgs)
 
 REGISTER_FST_OPERATION (Compose, StdArc, ComposeArgs)
 
 REGISTER_FST_OPERATION (Compose, LogArc, ComposeArgs)
 
 REGISTER_FST_OPERATION (Compose, Log64Arc, ComposeArgs)
 
 REGISTER_FST_OPERATION (Concat, StdArc, ConcatArgs1)
 
 REGISTER_FST_OPERATION (Concat, LogArc, ConcatArgs1)
 
 REGISTER_FST_OPERATION (Concat, Log64Arc, ConcatArgs1)
 
 REGISTER_FST_OPERATION (Concat, StdArc, ConcatArgs2)
 
 REGISTER_FST_OPERATION (Concat, LogArc, ConcatArgs2)
 
 REGISTER_FST_OPERATION (Concat, Log64Arc, ConcatArgs2)
 
 REGISTER_FST_OPERATION (Connect, StdArc, MutableFstClass)
 
 REGISTER_FST_OPERATION (Connect, LogArc, MutableFstClass)
 
 REGISTER_FST_OPERATION (Connect, Log64Arc, MutableFstClass)
 
 REGISTER_FST_OPERATION (Convert, StdArc, ConvertArgs)
 
 REGISTER_FST_OPERATION (Convert, LogArc, ConvertArgs)
 
 REGISTER_FST_OPERATION (Convert, Log64Arc, ConvertArgs)
 
 REGISTER_FST_OPERATION (Decode, StdArc, DecodeArgs1)
 
 REGISTER_FST_OPERATION (Decode, LogArc, DecodeArgs1)
 
 REGISTER_FST_OPERATION (Decode, Log64Arc, DecodeArgs1)
 
 REGISTER_FST_OPERATION (Decode, StdArc, DecodeArgs2)
 
 REGISTER_FST_OPERATION (Decode, LogArc, DecodeArgs2)
 
 REGISTER_FST_OPERATION (Decode, Log64Arc, DecodeArgs2)
 
 REGISTER_FST_OPERATION (Determinize, StdArc, DeterminizeArgs)
 
 REGISTER_FST_OPERATION (Determinize, LogArc, DeterminizeArgs)
 
 REGISTER_FST_OPERATION (Determinize, Log64Arc, DeterminizeArgs)
 
 REGISTER_FST_OPERATION (Difference, StdArc, DifferenceArgs)
 
 REGISTER_FST_OPERATION (Difference, LogArc, DifferenceArgs)
 
 REGISTER_FST_OPERATION (Difference, Log64Arc, DifferenceArgs)
 
 REGISTER_FST_OPERATION (Disambiguate, StdArc, DisambiguateArgs)
 
 REGISTER_FST_OPERATION (Disambiguate, LogArc, DisambiguateArgs)
 
 REGISTER_FST_OPERATION (Disambiguate, Log64Arc, DisambiguateArgs)
 
 REGISTER_FST_OPERATION (DrawFst, StdArc, FstDrawerArgs)
 
 REGISTER_FST_OPERATION (DrawFst, LogArc, FstDrawerArgs)
 
 REGISTER_FST_OPERATION (DrawFst, Log64Arc, FstDrawerArgs)
 
 REGISTER_FST_OPERATION (Encode, StdArc, EncodeArgs1)
 
 REGISTER_FST_OPERATION (Encode, LogArc, EncodeArgs1)
 
 REGISTER_FST_OPERATION (Encode, Log64Arc, EncodeArgs1)
 
 REGISTER_FST_OPERATION (Encode, StdArc, EncodeArgs2)
 
 REGISTER_FST_OPERATION (Encode, LogArc, EncodeArgs2)
 
 REGISTER_FST_OPERATION (Encode, Log64Arc, EncodeArgs2)
 
 REGISTER_FST_OPERATION (InitEncodeMapperClass, StdArc, InitEncodeMapperClassArgs)
 
 REGISTER_FST_OPERATION (InitEncodeMapperClass, LogArc, InitEncodeMapperClassArgs)
 
 REGISTER_FST_OPERATION (InitEncodeMapperClass, Log64Arc, InitEncodeMapperClassArgs)
 
 REGISTER_FST_OPERATION (EpsNormalize, StdArc, EpsNormalizeArgs)
 
 REGISTER_FST_OPERATION (EpsNormalize, LogArc, EpsNormalizeArgs)
 
 REGISTER_FST_OPERATION (EpsNormalize, Log64Arc, EpsNormalizeArgs)
 
 REGISTER_FST_OPERATION (Equal, StdArc, EqualArgs)
 
 REGISTER_FST_OPERATION (Equal, LogArc, EqualArgs)
 
 REGISTER_FST_OPERATION (Equal, Log64Arc, EqualArgs)
 
 REGISTER_FST_OPERATION (Equivalent, StdArc, EquivalentArgs)
 
 REGISTER_FST_OPERATION (Equivalent, LogArc, EquivalentArgs)
 
 REGISTER_FST_OPERATION (Equivalent, Log64Arc, EquivalentArgs)
 
 REGISTER_FST_CLASSES (StdArc)
 
 REGISTER_FST_CLASSES (LogArc)
 
 REGISTER_FST_CLASSES (Log64Arc)
 
 REGISTER_FST_OPERATION (PrintFstInfo, StdArc, InfoArgs)
 
 REGISTER_FST_OPERATION (PrintFstInfo, LogArc, InfoArgs)
 
 REGISTER_FST_OPERATION (PrintFstInfo, Log64Arc, InfoArgs)
 
 REGISTER_FST_OPERATION (GetFstInfo, StdArc, GetInfoArgs)
 
 REGISTER_FST_OPERATION (GetFstInfo, LogArc, GetInfoArgs)
 
 REGISTER_FST_OPERATION (GetFstInfo, Log64Arc, GetInfoArgs)
 
 REGISTER_FST_OPERATION (Intersect, StdArc, IntersectArgs)
 
 REGISTER_FST_OPERATION (Intersect, LogArc, IntersectArgs)
 
 REGISTER_FST_OPERATION (Intersect, Log64Arc, IntersectArgs)
 
 REGISTER_FST_OPERATION (Invert, StdArc, MutableFstClass)
 
 REGISTER_FST_OPERATION (Invert, LogArc, MutableFstClass)
 
 REGISTER_FST_OPERATION (Invert, Log64Arc, MutableFstClass)
 
 REGISTER_FST_OPERATION (Isomorphic, StdArc, IsomorphicArgs)
 
 REGISTER_FST_OPERATION (Isomorphic, LogArc, IsomorphicArgs)
 
 REGISTER_FST_OPERATION (Isomorphic, Log64Arc, IsomorphicArgs)
 
 REGISTER_FST_OPERATION (Map, StdArc, MapArgs)
 
 REGISTER_FST_OPERATION (Map, LogArc, MapArgs)
 
 REGISTER_FST_OPERATION (Map, Log64Arc, MapArgs)
 
 REGISTER_FST_OPERATION (Minimize, StdArc, MinimizeArgs)
 
 REGISTER_FST_OPERATION (Minimize, LogArc, MinimizeArgs)
 
 REGISTER_FST_OPERATION (Minimize, Log64Arc, MinimizeArgs)
 
 REGISTER_FST_OPERATION (PrintFst, StdArc, FstPrinterArgs)
 
 REGISTER_FST_OPERATION (PrintFst, LogArc, FstPrinterArgs)
 
 REGISTER_FST_OPERATION (PrintFst, Log64Arc, FstPrinterArgs)
 
 REGISTER_FST_OPERATION (Project, StdArc, ProjectArgs)
 
 REGISTER_FST_OPERATION (Project, LogArc, ProjectArgs)
 
 REGISTER_FST_OPERATION (Project, Log64Arc, ProjectArgs)
 
 REGISTER_FST_OPERATION (Prune, StdArc, PruneArgs1)
 
 REGISTER_FST_OPERATION (Prune, LogArc, PruneArgs1)
 
 REGISTER_FST_OPERATION (Prune, Log64Arc, PruneArgs1)
 
 REGISTER_FST_OPERATION (Prune, StdArc, PruneArgs2)
 
 REGISTER_FST_OPERATION (Prune, LogArc, PruneArgs2)
 
 REGISTER_FST_OPERATION (Prune, Log64Arc, PruneArgs2)
 
 REGISTER_FST_OPERATION (Push, StdArc, PushArgs1)
 
 REGISTER_FST_OPERATION (Push, LogArc, PushArgs1)
 
 REGISTER_FST_OPERATION (Push, Log64Arc, PushArgs1)
 
 REGISTER_FST_OPERATION (Push, StdArc, PushArgs2)
 
 REGISTER_FST_OPERATION (Push, LogArc, PushArgs2)
 
 REGISTER_FST_OPERATION (Push, Log64Arc, PushArgs2)
 
 REGISTER_FST_OPERATION (RandEquivalent, StdArc, RandEquivalentArgs)
 
 REGISTER_FST_OPERATION (RandEquivalent, LogArc, RandEquivalentArgs)
 
 REGISTER_FST_OPERATION (RandEquivalent, Log64Arc, RandEquivalentArgs)
 
 REGISTER_FST_OPERATION (RandGen, StdArc, RandGenArgs)
 
 REGISTER_FST_OPERATION (RandGen, LogArc, RandGenArgs)
 
 REGISTER_FST_OPERATION (RandGen, Log64Arc, RandGenArgs)
 
 REGISTER_FST_OPERATION (Relabel, StdArc, RelabelArgs1)
 
 REGISTER_FST_OPERATION (Relabel, LogArc, RelabelArgs1)
 
 REGISTER_FST_OPERATION (Relabel, Log64Arc, RelabelArgs1)
 
 REGISTER_FST_OPERATION (Relabel, StdArc, RelabelArgs2)
 
 REGISTER_FST_OPERATION (Relabel, LogArc, RelabelArgs2)
 
 REGISTER_FST_OPERATION (Relabel, Log64Arc, RelabelArgs2)
 
 REGISTER_FST_OPERATION (Replace, StdArc, ReplaceArgs)
 
 REGISTER_FST_OPERATION (Replace, LogArc, ReplaceArgs)
 
 REGISTER_FST_OPERATION (Replace, Log64Arc, ReplaceArgs)
 
 REGISTER_FST_OPERATION (Reverse, StdArc, ReverseArgs)
 
 REGISTER_FST_OPERATION (Reverse, LogArc, ReverseArgs)
 
 REGISTER_FST_OPERATION (Reverse, Log64Arc, ReverseArgs)
 
 REGISTER_FST_OPERATION (Reweight, StdArc, ReweightArgs)
 
 REGISTER_FST_OPERATION (Reweight, LogArc, ReweightArgs)
 
 REGISTER_FST_OPERATION (Reweight, Log64Arc, ReweightArgs)
 
 REGISTER_FST_OPERATION (RmEpsilon, StdArc, RmEpsilonArgs)
 
 REGISTER_FST_OPERATION (RmEpsilon, LogArc, RmEpsilonArgs)
 
 REGISTER_FST_OPERATION (RmEpsilon, Log64Arc, RmEpsilonArgs)
 
 REGISTER_FST_OPERATION (ShortestDistance, StdArc, ShortestDistanceArgs1)
 
 REGISTER_FST_OPERATION (ShortestDistance, LogArc, ShortestDistanceArgs1)
 
 REGISTER_FST_OPERATION (ShortestDistance, Log64Arc, ShortestDistanceArgs1)
 
 REGISTER_FST_OPERATION (ShortestDistance, StdArc, ShortestDistanceArgs2)
 
 REGISTER_FST_OPERATION (ShortestDistance, LogArc, ShortestDistanceArgs2)
 
 REGISTER_FST_OPERATION (ShortestDistance, Log64Arc, ShortestDistanceArgs2)
 
 REGISTER_FST_OPERATION (ShortestPath, StdArc, ShortestPathArgs)
 
 REGISTER_FST_OPERATION (ShortestPath, LogArc, ShortestPathArgs)
 
 REGISTER_FST_OPERATION (ShortestPath, Log64Arc, ShortestPathArgs)
 
 REGISTER_FST_OPERATION (InitStateIteratorClass, StdArc, InitStateIteratorClassArgs)
 
 REGISTER_FST_OPERATION (InitStateIteratorClass, LogArc, InitStateIteratorClassArgs)
 
 REGISTER_FST_OPERATION (InitStateIteratorClass, Log64Arc, InitStateIteratorClassArgs)
 
 REGISTER_FST_OPERATION (Synchronize, StdArc, SynchronizeArgs)
 
 REGISTER_FST_OPERATION (Synchronize, LogArc, SynchronizeArgs)
 
 REGISTER_FST_OPERATION (Synchronize, Log64Arc, SynchronizeArgs)
 
 REGISTER_FST_OPERATION (TopSort, StdArc, TopSortArgs)
 
 REGISTER_FST_OPERATION (TopSort, LogArc, TopSortArgs)
 
 REGISTER_FST_OPERATION (TopSort, Log64Arc, TopSortArgs)
 
 REGISTER_FST_OPERATION (Union, StdArc, UnionArgs)
 
 REGISTER_FST_OPERATION (Union, LogArc, UnionArgs)
 
 REGISTER_FST_OPERATION (Union, Log64Arc, UnionArgs)
 
 REGISTER_FST_OPERATION (Verify, StdArc, VerifyArgs)
 
 REGISTER_FST_OPERATION (Verify, LogArc, VerifyArgs)
 
 REGISTER_FST_OPERATION (Verify, Log64Arc, VerifyArgs)
 
 REGISTER_FST_WEIGHT (StdArc::Weight)
 

Typedef Documentation

using fst::script::ArcSortArgs = typedef std::pair<MutableFstClass *, ArcSortType>

Definition at line 20 of file arcsort.h.

using fst::script::ClosureArgs = typedef std::pair<MutableFstClass *, const ClosureType>

Definition at line 15 of file closure.h.

Definition at line 58 of file compile.h.

using fst::script::ComposeArgs = typedef std::tuple<const FstClass &, const FstClass &, MutableFstClass *, const ComposeOptions &>

Definition at line 16 of file compose.h.

typedef std::tuple<const FstClass &, const string &, const bool> fst::script::CompressArgs

Definition at line 22 of file compress-script.h.

using fst::script::ConcatArgs1 = typedef std::pair<MutableFstClass *, const FstClass &>

Definition at line 15 of file concat.h.

using fst::script::ConcatArgs2 = typedef std::pair<const FstClass &, MutableFstClass *>

Definition at line 24 of file concat.h.

Definition at line 20 of file convert.h.

using fst::script::ConvertInnerArgs = typedef std::pair<const FstClass &, const string &>

Definition at line 18 of file convert.h.

Definition at line 201 of file far-class.h.

using fst::script::CreateFarWriterClassInnerArgs = typedef std::pair<const string &, FarType>

Definition at line 198 of file far-class.h.

using fst::script::DecodeArgs1 = typedef std::pair<MutableFstClass *, const string &>

Definition at line 18 of file decode.h.

using fst::script::DecodeArgs2 = typedef std::pair<MutableFstClass *, const EncodeMapperClass &>

Definition at line 32 of file decode.h.

typedef std::tuple<const string &, MutableFstClass *, const bool> fst::script::DecompressArgs

Definition at line 36 of file compress-script.h.

using fst::script::DeterminizeArgs = typedef std::tuple<const FstClass &, MutableFstClass *, const DeterminizeOptions &>

Definition at line 38 of file determinize.h.

using fst::script::DifferenceArgs = typedef std::tuple<const FstClass &, const FstClass &, MutableFstClass *, const ComposeOptions &>

Definition at line 17 of file difference.h.

using fst::script::DisambiguateArgs = typedef std::tuple<const FstClass &, MutableFstClass *, const DisambiguateOptions &>

Definition at line 33 of file disambiguate.h.

using fst::script::EncodeArgs1 = typedef std::tuple<MutableFstClass *, uint32, bool, const string &>

Definition at line 19 of file encode.h.

Definition at line 34 of file encode.h.

Definition at line 16 of file epsnormalize.h.

Definition at line 18 of file equal.h.

using fst::script::EqualInnerArgs = typedef std::tuple<const FstClass &, const FstClass &, float>

Definition at line 16 of file equal.h.

Definition at line 19 of file equivalent.h.

using fst::script::EquivalentInnerArgs = typedef std::tuple<const FstClass &, const FstClass &, float>

Definition at line 17 of file equivalent.h.

Definition at line 126 of file farscript.h.

using fst::script::FarEqualInnerArgs = typedef std::tuple<const string &, const string &, float, const string &, const string &>

Definition at line 124 of file farscript.h.

using fst::script::FarExtractArgs = typedef std::tuple<const std::vector<string> &, int32, const string &, const string &, const string &, const string &, const string &>

Definition at line 142 of file farscript.h.

using fst::script::FarInfoArgs = typedef std::tuple<const std::vector<string> &, const string &, const string &, const bool>

Definition at line 158 of file farscript.h.

Definition at line 187 of file farscript.h.

using fst::script::FarIsomorphicInnerArgs = typedef std::tuple<const string &, const string &, float, const string &, const string &>

Definition at line 185 of file farscript.h.

using fst::script::GetFarInfoArgs = typedef std::tuple<const std::vector<string> &, const string &, const string &, const bool, FarInfoData *>

Definition at line 171 of file farscript.h.

using fst::script::GetInfoArgs = typedef std::tuple<const FstClass &, bool, const string &, const string &, bool, FstInfo *>

Definition at line 34 of file info.h.

using fst::script::InfoArgs = typedef std::tuple<const FstClass &, bool, const string &, const string &, bool, bool>

Definition at line 18 of file info.h.

using fst::script::InitArcIteratorClassArgs = typedef std::tuple<const FstClass &, int64, ArcIteratorClass *>

Definition at line 73 of file arciterator-class.h.

Definition at line 96 of file encodemapper-class.h.

Definition at line 165 of file arciterator-class.h.

Definition at line 50 of file stateiterator-class.h.

using fst::script::IntersectArgs = typedef std::tuple<const FstClass &, const FstClass &, MutableFstClass *, const ComposeOptions &>

Definition at line 17 of file intersect.h.

Definition at line 19 of file isomorphic.h.

using fst::script::IsomorphicInnerArgs = typedef std::tuple<const FstClass &, const FstClass &, float>

Definition at line 17 of file isomorphic.h.

using fst::script::LabelFstClassPair = typedef std::pair<int64, const FstClass *>

Definition at line 33 of file replace.h.

using fst::script::LabelPair = typedef std::pair<int64, int64>

Definition at line 31 of file relabel.h.

typedef std::tuple<const string &, const string &, const string &, char **, int, const string &, const string &, const string &, const string &> fst::script::LinearCompileArgs

Definition at line 31 of file linearscript.h.

Definition at line 58 of file map.h.

using fst::script::MapInnerArgs = typedef std::tuple<const FstClass &, MapType, float, double, const WeightClass &>

Definition at line 56 of file map.h.

using fst::script::MinimizeArgs = typedef std::tuple<MutableFstClass *, MutableFstClass *, float, bool>

Definition at line 16 of file minimize.h.

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

Definition at line 37 of file mpdtscript.h.

using fst::script::MPdtExpandArgs = typedef std::tuple<const FstClass &, const std::vector<LabelPair> &, const std::vector<int64> &, MutableFstClass *, const MPdtExpandOptions &>

Definition at line 69 of file mpdtscript.h.

using fst::script::MPdtReverseArgs = typedef std::tuple<const FstClass &, const std::vector<LabelPair> &, std::vector<int64> *, MutableFstClass *>

Definition at line 97 of file mpdtscript.h.

using fst::script::OpenFarReaderClassArgs = typedef WithReturnValue<FarReaderClass *, const std::vector<string> &>

Definition at line 83 of file far-class.h.

using fst::script::PdtComposeArgs = typedef std::tuple<const FstClass &, const FstClass &, const std::vector<LabelPair> &, MutableFstClass *, const PdtComposeOptions &, bool>

Definition at line 35 of file pdtscript.h.

using fst::script::PdtExpandArgs = typedef std::tuple<const FstClass &, const std::vector<LabelPair> &, MutableFstClass *, const PdtExpandOptions &>

Definition at line 72 of file pdtscript.h.

using fst::script::PdtReplaceArgs = typedef std::tuple<const std::vector<LabelFstClassPair> &, MutableFstClass *, std::vector<LabelPair> *, int64, PdtParserType, int64, const string &, const string &>

Definition at line 102 of file pdtscript.h.

using fst::script::PdtReverseArgs = typedef std::tuple<const FstClass &, const std::vector<LabelPair> &, MutableFstClass *>

Definition at line 135 of file pdtscript.h.

using fst::script::PdtShortestPathArgs = typedef std::tuple<const FstClass &, const std::vector<LabelPair> &, MutableFstClass *, const PdtShortestPathOptions &>

Definition at line 168 of file pdtscript.h.

using fst::script::PrintMPdtInfoArgs = typedef std::tuple<const FstClass &, const std::vector<LabelPair> &, const std::vector<int64> &>

Definition at line 125 of file mpdtscript.h.

using fst::script::PrintPdtInfoArgs = typedef std::pair<const FstClass &, const std::vector<LabelPair> &>

Definition at line 216 of file pdtscript.h.

using fst::script::ProjectArgs = typedef std::pair<MutableFstClass *, ProjectType>

Definition at line 15 of file project.h.

using fst::script::PruneArgs1 = typedef std::tuple<const FstClass &, MutableFstClass *, const WeightClass &, int64, float>

Definition at line 18 of file prune.h.

using fst::script::PruneArgs2 = typedef std::tuple<MutableFstClass *, const WeightClass &, int64, float>

Definition at line 30 of file prune.h.

using fst::script::PushArgs1 = typedef std::tuple<MutableFstClass *, ReweightType, float, bool>

Definition at line 15 of file push.h.

using fst::script::PushArgs2 = typedef std::tuple<const FstClass &, MutableFstClass *, uint32, ReweightType, float>

Definition at line 24 of file push.h.

Definition at line 23 of file randequivalent.h.

using fst::script::RandEquivalentInnerArgs = typedef std::tuple<const FstClass &, const FstClass &, int32, float, time_t, const RandGenOptions<RandArcSelection> &>

Definition at line 21 of file randequivalent.h.

using fst::script::RandGenArgs = typedef std::tuple<const FstClass &, MutableFstClass *, time_t, const RandGenOptions<RandArcSelection> &>

Definition at line 19 of file randgen.h.

using fst::script::RelabelArgs1 = typedef std::tuple<MutableFstClass *, const SymbolTable *, const SymbolTable *, const string &, bool, const SymbolTable *, const SymbolTable *, const string &, bool>

Definition at line 21 of file relabel.h.

using fst::script::RelabelArgs2 = typedef std::tuple<MutableFstClass *, const std::vector<LabelPair> &, const std::vector<LabelPair> &>

Definition at line 35 of file relabel.h.

using fst::script::ReplaceArgs = typedef std::tuple<const std::vector<LabelFstClassPair> &, MutableFstClass *, const ReplaceOptions &>

Definition at line 36 of file replace.h.

using fst::script::ReverseArgs = typedef std::tuple<const FstClass &, MutableFstClass *, bool>

Definition at line 15 of file reverse.h.

using fst::script::ReweightArgs = typedef std::tuple<MutableFstClass *, const std::vector<WeightClass> &, ReweightType>

Definition at line 19 of file reweight.h.

using fst::script::RmEpsilonArgs = typedef std::pair<MutableFstClass *, const RmEpsilonOptions &>

Definition at line 95 of file rmepsilon.h.

using fst::script::ShortestDistanceArgs1 = typedef std::tuple<const FstClass &, std::vector<WeightClass> *, const ShortestDistanceOptions &>

Definition at line 140 of file shortest-distance.h.

using fst::script::ShortestDistanceArgs2 = typedef std::tuple<const FstClass &, std::vector<WeightClass> *, bool, double>

Definition at line 192 of file shortest-distance.h.

using fst::script::ShortestPathArgs = typedef std::tuple<const FstClass &, MutableFstClass *, const ShortestPathOptions &>

Definition at line 100 of file shortest-path.h.

using fst::script::StrToWeightImplBaseT = typedef WeightImplBase *(*)(const string &str, const string &src, size_t nline)

Definition at line 187 of file weight-class.h.

using fst::script::SynchronizeArgs = typedef std::pair<const FstClass &, MutableFstClass *>

Definition at line 15 of file synchronize.h.

Definition at line 14 of file topsort.h.

using fst::script::UnionArgs = typedef std::pair<MutableFstClass *, const FstClass &>

Definition at line 15 of file union.h.

using fst::script::VerifyArgs = typedef WithReturnValue<bool, const FstClass &>

Definition at line 14 of file verify.h.

Definition at line 211 of file weight-class.h.

Enumeration Type Documentation

Enumerator
ANY_ARC_FILTER 
EPSILON_ARC_FILTER 
INPUT_EPSILON_ARC_FILTER 
OUTPUT_EPSILON_ARC_FILTER 

Definition at line 20 of file shortest-distance.h.

Enumerator
ILABEL_SORT 
OLABEL_SORT 

Definition at line 15 of file arcsort.h.

Enumerator
ARC_SUM_MAPPER 
ARC_UNIQUE_MAPPER 
IDENTITY_MAPPER 
INPUT_EPSILON_MAPPER 
INVERT_MAPPER 
OUTPUT_EPSILON_MAPPER 
PLUS_MAPPER 
POWER_MAPPER 
QUANTIZE_MAPPER 
RMWEIGHT_MAPPER 
SUPERFINAL_MAPPER 
TIMES_MAPPER 
TO_LOG_MAPPER 
TO_LOG64_MAPPER 
TO_STD_MAPPER 

Definition at line 37 of file map.h.

Enumerator
UNIFORM_ARC_SELECTOR 
LOG_PROB_ARC_SELECTOR 
FAST_LOG_PROB_ARC_SELECTOR 

Definition at line 92 of file script-impl.h.

Function Documentation

template<class Arc >
void fst::script::AddModel ( const string &  model,
SymbolTable fsyms,
SymbolTable osyms,
LinearFstDataBuilder< Arc > *  builder 
)

Definition at line 166 of file linearscript.h.

template<class Arc >
void fst::script::AddModel ( const string &  model,
SymbolTable fsyms,
SymbolTable osyms,
LinearClassifierFstDataBuilder< Arc > *  builder 
)

Definition at line 218 of file linearscript.h.

template<class Arc >
void fst::script::AddVocab ( const string &  vocab,
SymbolTable isyms,
SymbolTable fsyms,
SymbolTable osyms,
LinearFstDataBuilder< Arc > *  builder 
)

Definition at line 106 of file linearscript.h.

template<class Arc >
void fst::script::AddVocab ( const string &  vocab,
SymbolTable isyms,
SymbolTable fsyms,
SymbolTable osyms,
LinearClassifierFstDataBuilder< Arc > *  builder 
)

Definition at line 130 of file linearscript.h.

template<class OpReg >
void fst::script::Apply ( const string &  op_name,
const string &  arc_type,
typename OpReg::ArgPack *  args 
)

Definition at line 158 of file script-impl.h.

template<class M >
Fst<typename M::ToArc>* fst::script::ArcMap ( const Fst< typename M::FromArc > &  fst,
const M &  mapper 
)

Definition at line 20 of file map.h.

template<class Arc >
void fst::script::ArcSort ( ArcSortArgs args)

Definition at line 23 of file arcsort.h.

void fst::script::ArcSort ( MutableFstClass ofst,
ArcSortType  sort_type 
)

Definition at line 11 of file arcsort.cc.

template<class Arc >
void fst::script::Closure ( ClosureArgs args)

Definition at line 18 of file closure.h.

void fst::script::Closure ( MutableFstClass ofst,
ClosureType  closure_type 
)

Definition at line 11 of file closure.cc.

void fst::script::CompileFst ( std::istream &  istrm,
const string &  source,
const string &  dest,
const string &  fst_type,
const string &  arc_type,
const SymbolTable isyms,
const SymbolTable osyms,
const SymbolTable ssyms,
bool  accep,
bool  ikeep,
bool  okeep,
bool  nkeep,
bool  allow_negative_labels 
)

Definition at line 14 of file compile.cc.

template<class Arc >
void fst::script::CompileFstInternal ( CompileFstArgs args)

Definition at line 61 of file compile.h.

FstClass * fst::script::CompileFstInternal ( std::istream &  istrm,
const string &  source,
const string &  fst_type,
const string &  arc_type,
const SymbolTable isyms,
const SymbolTable osyms,
const SymbolTable ssyms,
bool  accep,
bool  ikeep,
bool  okeep,
bool  nkeep,
bool  allow_negative_labels 
)

Definition at line 25 of file compile.cc.

template<class Arc >
void fst::script::Compose ( ComposeArgs args)

Definition at line 19 of file compose.h.

void fst::script::Compose ( const FstClass ifst1,
const FstClass ifst2,
MutableFstClass ofst,
const ComposeOptions opts = ComposeOptions() 
)

Definition at line 11 of file compose.cc.

void fst::script::Compress ( const FstClass fst,
const string &  filename,
const bool  gzip 
)

Definition at line 18 of file compress-script.cc.

template<class Arc >
void fst::script::Compress ( CompressArgs args)

Definition at line 25 of file compress-script.h.

template<class Arc >
void fst::script::Concat ( ConcatArgs1 args)

Definition at line 18 of file concat.h.

template<class Arc >
void fst::script::Concat ( ConcatArgs2 args)

Definition at line 27 of file concat.h.

void fst::script::Concat ( MutableFstClass ofst,
const FstClass ifst 
)

Definition at line 12 of file concat.cc.

void fst::script::Concat ( const FstClass ifst,
MutableFstClass ofst 
)

Definition at line 22 of file concat.cc.

template<class Arc >
void fst::script::Connect ( MutableFstClass fst)

Definition at line 14 of file connect.h.

template<class Arc >
void fst::script::Convert ( ConvertArgs args)

Definition at line 23 of file convert.h.

FstClass * fst::script::Convert ( const FstClass fst,
const string &  new_type 
)

Definition at line 11 of file convert.cc.

template<class Arc >
void fst::script::CreateFarWriterClass ( CreateFarWriterClassArgs args)

Definition at line 250 of file far-class.h.

template<class Arc >
void fst::script::Decode ( DecodeArgs1 args)

Definition at line 21 of file decode.h.

template<class Arc >
void fst::script::Decode ( DecodeArgs2 args)

Definition at line 35 of file decode.h.

void fst::script::Decode ( MutableFstClass fst,
const string &  coder_fname 
)

Definition at line 12 of file decode.cc.

void fst::script::Decode ( MutableFstClass fst,
const EncodeMapperClass encoder 
)

Definition at line 17 of file decode.cc.

void fst::script::Decompress ( const string &  filename,
MutableFstClass fst,
const bool  gzip 
)

Definition at line 23 of file compress-script.cc.

template<class Arc >
void fst::script::Decompress ( DecompressArgs args)

Definition at line 39 of file compress-script.h.

template<class Arc >
void fst::script::Determinize ( DeterminizeArgs args)

Definition at line 41 of file determinize.h.

void fst::script::Determinize ( const FstClass ifst,
MutableFstClass ofst,
const DeterminizeOptions opts 
)

Definition at line 11 of file determinize.cc.

template<class Arc >
void fst::script::Difference ( DifferenceArgs args)

Definition at line 20 of file difference.h.

void fst::script::Difference ( const FstClass ifst1,
const FstClass ifst2,
MutableFstClass ofst,
const ComposeOptions opts = ComposeOptions() 
)

Definition at line 11 of file difference.cc.

template<class Arc >
void fst::script::Disambiguate ( DisambiguateArgs args)

Definition at line 36 of file disambiguate.h.

void fst::script::Disambiguate ( const FstClass ifst,
MutableFstClass ofst,
const DisambiguateOptions opts 
)

Definition at line 11 of file disambiguate.cc.

WeightClass fst::script::Divide ( const WeightClass lhs,
const WeightClass rhs 
)

Definition at line 79 of file weight-class.cc.

template<class Arc >
void fst::script::DrawFst ( FstDrawerArgs args)

Definition at line 66 of file draw.h.

void fst::script::DrawFst ( const FstClass fst,
const SymbolTable isyms,
const SymbolTable osyms,
const SymbolTable ssyms,
bool  accep,
const string &  title,
float  width,
float  height,
bool  portrait,
bool  vertical,
float  ranksep,
float  nodesep,
int  fontsize,
int  precision,
const string &  float_format,
bool  show_weight_one,
std::ostream *  ostrm,
const string &  dest 
)

Definition at line 14 of file draw.cc.

template<class Arc >
void fst::script::Encode ( EncodeArgs1 args)

Definition at line 22 of file encode.h.

template<class Arc >
void fst::script::Encode ( EncodeArgs2 args)

Definition at line 37 of file encode.h.

void fst::script::Encode ( MutableFstClass fst,
uint32  flags,
bool  reuse_encoder,
const string &  coder_fname 
)

Definition at line 12 of file encode.cc.

void fst::script::Encode ( MutableFstClass fst,
EncodeMapperClass encoder 
)

Definition at line 18 of file encode.cc.

template<class Arc >
void fst::script::EpsNormalize ( EpsNormalizeArgs args)

Definition at line 19 of file epsnormalize.h.

void fst::script::EpsNormalize ( const FstClass ifst,
MutableFstClass ofst,
EpsNormalizeType  norm_type = EPS_NORM_INPUT 
)

Definition at line 11 of file epsnormalize.cc.

template<class Arc >
void fst::script::Equal ( EqualArgs args)

Definition at line 21 of file equal.h.

bool fst::script::Equal ( const FstClass fst1,
const FstClass fst2,
float  delta = kDelta 
)

Definition at line 11 of file equal.cc.

template<class Arc >
void fst::script::Equivalent ( EquivalentArgs args)

Definition at line 22 of file equivalent.h.

bool fst::script::Equivalent ( const FstClass fst1,
const FstClass fst2,
float  delta = kDelta 
)

Definition at line 11 of file equivalent.cc.

void fst::script::ExpandArgs ( int  argc,
char **  argv,
int *  argcp,
char ***  argvp 
)

Definition at line 55 of file getters.cc.

void fst::script::FarCompileStrings ( const std::vector< string > &  in_fnames,
const string &  out_fname,
const string &  arc_type,
const string &  fst_type,
const FarType far_type,
int32  generate_keys,
FarEntryType  fet,
FarTokenType  tt,
const string &  symbols_fname,
const string &  unknown_symbol,
bool  keep_symbols,
bool  initial_symbols,
bool  allow_negative_labels,
const string &  key_prefix,
const string &  key_suffix 
)

Definition at line 14 of file farscript.cc.

template<class Arc >
void fst::script::FarCompileStrings ( FarCompileStringsArgs args)

Definition at line 73 of file farscript.h.

void fst::script::FarCreate ( const std::vector< string > &  in_fnames,
const string &  out_fname,
const string &  arc_type,
const int32  generate_keys,
const FarType far_type,
const string &  key_prefix,
const string &  key_suffix 
)

Definition at line 29 of file farscript.cc.

template<class Arc >
void fst::script::FarCreate ( FarCreateArgs args)

Definition at line 113 of file farscript.h.

bool fst::script::FarEqual ( const string &  filename1,
const string &  filename2,
const string &  arc_type,
float  delta,
const string &  begin_key,
const string &  end_key 
)

Definition at line 38 of file farscript.cc.

template<class Arc >
void fst::script::FarEqual ( FarEqualArgs args)

Definition at line 129 of file farscript.h.

void fst::script::FarExtract ( const std::vector< string > &  ifilenames,
const string &  arc_type,
int32  generate_filenames,
const string &  keys,
const string &  key_separator,
const string &  range_delimiter,
const string &  filename_prefix,
const string &  filename_suffix 
)

Definition at line 47 of file farscript.cc.

template<class Arc >
void fst::script::FarExtract ( FarExtractArgs args)

Definition at line 145 of file farscript.h.

void fst::script::FarInfo ( const std::vector< string > &  filenames,
const string &  arc_type,
const string &  begin_key,
const string &  end_key,
const bool  list_fsts 
)

Definition at line 56 of file farscript.cc.

template<class Arc >
void fst::script::FarInfo ( FarInfoArgs args)

Definition at line 161 of file farscript.h.

bool fst::script::FarIsomorphic ( const string &  filename1,
const string &  filename2,
const string &  arc_type,
float  delta,
const string &  begin_key,
const string &  end_key 
)

Definition at line 70 of file farscript.cc.

template<class Arc >
void fst::script::FarIsomorphic ( FarIsomorphicArgs args)

Definition at line 190 of file farscript.h.

void fst::script::FarPrintStrings ( const std::vector< string > &  ifilenames,
const string &  arc_type,
const FarEntryType  entry_type,
const FarTokenType  token_type,
const string &  begin_key,
const string &  end_key,
const bool  print_key,
const bool  print_weight,
const string &  symbols_fname,
const bool  initial_symbols,
const int32  generate_filenames,
const string &  filename_prefix,
const string &  filename_suffix 
)

Definition at line 80 of file farscript.cc.

template<class Arc >
void fst::script::FarPrintStrings ( FarPrintStringsArgs args)

Definition at line 239 of file farscript.h.

bool fst::script::GetArcSortType ( const string &  str,
ArcSortType sort_type 
)

Definition at line 6 of file getters.cc.

ClosureType fst::script::GetClosureType ( bool  closure_plus)
inline

Definition at line 31 of file getters.h.

bool fst::script::GetComposeFilter ( const string &  str,
ComposeFilter compose_filter 
)

Definition at line 17 of file getters.cc.

bool fst::script::GetDeterminizeType ( const string &  str,
DeterminizeType det_type 
)

Definition at line 36 of file getters.cc.

uint32 fst::script::GetEncodeFlags ( bool  encode_labels,
bool  encode_weights 
)
inline

Definition at line 39 of file getters.h.

EpsNormalizeType fst::script::GetEpsNormalizeType ( bool  eps_norm_output)
inline

Definition at line 44 of file getters.h.

bool fst::script::GetFarEntryType ( const string &  str,
FarEntryType entry_type 
)

Definition at line 31 of file getters.cc.

void fst::script::GetFarInfo ( const std::vector< string > &  filenames,
const string &  arc_type,
const string &  begin_key,
const string &  end_key,
const bool  list_fsts,
FarInfoData data 
)

Definition at line 63 of file farscript.cc.

template<class Arc >
void fst::script::GetFarInfo ( GetFarInfoArgs args)

Definition at line 174 of file farscript.h.

bool fst::script::GetFarTokenType ( const string &  str,
FarTokenType token_type 
)

Definition at line 42 of file getters.cc.

FarType fst::script::GetFarType ( const string &  str)

Definition at line 19 of file getters.cc.

template<class Arc >
void fst::script::GetFstInfo ( GetInfoArgs args)

Definition at line 37 of file info.h.

void fst::script::GetFstInfo ( const FstClass fst,
bool  test_properties,
const string &  arc_filter,
const string &  info_type,
bool  verify,
FstInfo info 
)

Definition at line 20 of file info.cc.

bool fst::script::GetMapType ( const string &  str,
MapType map_type 
)

Definition at line 49 of file getters.cc.

template<class Arc >
bool fst::script::GetModelRecord ( const string &  model,
std::istream &  strm,
SymbolTable fsyms,
SymbolTable osyms,
std::vector< typename Arc::Label > *  input_labels,
std::vector< typename Arc::Label > *  output_labels,
typename Arc::Weight *  weight,
size_t *  num_line 
)

Definition at line 356 of file linearscript.h.

bool fst::script::GetPdtComposeFilter ( const string &  str,
PdtComposeFilter cf 
)

Definition at line 9 of file getters.cc.

bool fst::script::GetPdtParserType ( const string &  str,
PdtParserType pt 
)

Definition at line 22 of file getters.cc.

ProjectType fst::script::GetProjectType ( bool  project_output)
inline

Definition at line 50 of file getters.h.

uint32 fst::script::GetPushFlags ( bool  push_weights,
bool  push_labels,
bool  remove_total_weight,
bool  remove_common_affix 
)
inline

Definition at line 54 of file getters.h.

bool fst::script::GetQueueType ( const string &  str,
QueueType queue_type 
)

Definition at line 99 of file getters.cc.

bool fst::script::GetRandArcSelection ( const string &  str,
RandArcSelection ras 
)

Definition at line 86 of file getters.cc.

bool fst::script::GetReplaceLabelType ( const string &  str,
bool  epsilon_on_replace,
ReplaceLabelType rlt 
)

Definition at line 118 of file getters.cc.

ReweightType fst::script::GetReweightType ( bool  to_final)
inline

Definition at line 69 of file getters.h.

template<class Arc >
bool fst::script::GetVocabRecord ( const string &  vocab,
std::istream &  strm,
SymbolTable isyms,
SymbolTable fsyms,
SymbolTable osyms,
typename Arc::Label *  word,
std::vector< typename Arc::Label > *  feature_labels,
std::vector< typename Arc::Label > *  possible_labels,
size_t *  num_line 
)

Definition at line 327 of file linearscript.h.

template<class Arc >
void fst::script::InitArcIteratorClass ( InitArcIteratorClassArgs args)

Definition at line 108 of file arciterator-class.h.

template<class Arc >
void fst::script::InitEncodeMapperClass ( InitEncodeMapperClassArgs args)

Definition at line 161 of file encodemapper-class.h.

template<class Arc >
void fst::script::InitMutableArcIteratorClass ( InitMutableArcIteratorClassArgs args)

Definition at line 203 of file arciterator-class.h.

template<class Arc >
void fst::script::InitStateIteratorClass ( InitStateIteratorClassArgs args)

Definition at line 77 of file stateiterator-class.h.

template<class Arc >
void fst::script::Intersect ( IntersectArgs args)

Definition at line 20 of file intersect.h.

void fst::script::Intersect ( const FstClass ifst,
const FstClass ifst2,
MutableFstClass ofst,
const ComposeOptions opts = ComposeOptions() 
)

Definition at line 11 of file intersect.cc.

template<class Arc >
void fst::script::Invert ( MutableFstClass fst)

Definition at line 14 of file invert.h.

template<class Arc >
void fst::script::Isomorphic ( IsomorphicArgs args)

Definition at line 22 of file isomorphic.h.

bool fst::script::Isomorphic ( const FstClass fst1,
const FstClass fst2,
float  delta = kDelta 
)

Definition at line 11 of file isomorphic.cc.

void fst::script::LinearCompile ( const string &  arc_type,
const string &  epsilon_symbol,
const string &  unknown_symbol,
const string &  vocab,
char **  models,
int  models_len,
const string &  out,
const string &  save_isymbols,
const string &  save_fsymbols,
const string &  save_osymbols 
)

Definition at line 45 of file linearscript.cc.

template<class Arc >
void fst::script::LinearCompileTpl ( LinearCompileArgs args)

Definition at line 270 of file linearscript.h.

string fst::script::LoadArcTypeFromFar ( const string &  far_fname)

Definition at line 17 of file script-impl.cc.

string fst::script::LoadArcTypeFromFst ( const string &  fst_fname)

Definition at line 31 of file script-impl.cc.

template<class Arc >
Arc::Label fst::script::LookUp ( const string &  str,
SymbolTable syms 
)
inline

Definition at line 43 of file linearscript.h.

template<class Arc >
void fst::script::Map ( MapArgs args)

Definition at line 61 of file map.h.

FstClass * fst::script::Map ( const FstClass ifst,
MapType  map_type,
float  delta,
double  power,
const WeightClass weight 
)

Definition at line 11 of file map.cc.

template<class Arc >
void fst::script::Minimize ( MinimizeArgs args)

Definition at line 19 of file minimize.h.

void fst::script::Minimize ( MutableFstClass ofst1,
MutableFstClass ofst2 = nullptr,
float  delta = kShortestDelta,
bool  allow_nondet = false 
)

Definition at line 11 of file minimize.cc.

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 
)

Definition at line 22 of file mpdtscript.cc.

template<class Arc >
void fst::script::MPdtCompose ( MPdtComposeArgs args)

Definition at line 40 of file mpdtscript.h.

void fst::script::MPdtExpand ( const FstClass ifst,
const std::vector< LabelPair > &  parens,
const std::vector< int64 > &  assignments,
MutableFstClass ofst,
const MPdtExpandOptions opts 
)

Definition at line 33 of file mpdtscript.cc.

void fst::script::MPdtExpand ( const FstClass ifst,
const std::vector< LabelPair > &  parens,
const std::vector< int64 > &  assignments,
MutableFstClass ofst,
bool  connect 
)

Definition at line 40 of file mpdtscript.cc.

template<class Arc >
void fst::script::MPdtExpand ( MPdtExpandArgs args)

Definition at line 72 of file mpdtscript.h.

void fst::script::MPdtReverse ( const FstClass ifst,
const std::vector< LabelPair > &  parens,
std::vector< int64 > *  assignments,
MutableFstClass ofst 
)

Definition at line 46 of file mpdtscript.cc.

template<class Arc >
void fst::script::MPdtReverse ( MPdtReverseArgs args)

Definition at line 100 of file mpdtscript.h.

template<class Arc >
void fst::script::OpenFarReaderClass ( OpenFarReaderClassArgs args)

Definition at line 144 of file far-class.h.

bool fst::script::operator!= ( const WeightClass lhs,
const WeightClass rhs 
)

Definition at line 55 of file weight-class.cc.

std::ostream & fst::script::operator<< ( std::ostream &  o,
const WeightClass c 
)

Definition at line 96 of file weight-class.cc.

bool fst::script::operator== ( const WeightClass lhs,
const WeightClass rhs 
)

Definition at line 46 of file weight-class.cc.

void fst::script::PdtCompose ( const FstClass ifst1,
const FstClass ifst2,
const std::vector< LabelPair > &  parens,
MutableFstClass ofst,
const PdtComposeOptions copts,
bool  left_pdt 
)

Definition at line 24 of file pdtscript.cc.

template<class Arc >
void fst::script::PdtCompose ( PdtComposeArgs args)

Definition at line 38 of file pdtscript.h.

void fst::script::PdtExpand ( const FstClass ifst,
const std::vector< LabelPair > &  parens,
MutableFstClass ofst,
const PdtExpandOptions opts 
)

Definition at line 35 of file pdtscript.cc.

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 
)

Definition at line 42 of file pdtscript.cc.

template<class Arc >
void fst::script::PdtExpand ( PdtExpandArgs args)

Definition at line 75 of file pdtscript.h.

void fst::script::PdtExpand ( const FstClass ifst,
const std::vector< LabelPair > &  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 
)

Definition at line 50 of file pdtscript.cc.

template<class Arc >
void fst::script::PdtReplace ( PdtReplaceArgs args)

Definition at line 105 of file pdtscript.h.

void fst::script::PdtReverse ( const FstClass ifst,
const std::vector< LabelPair > &  parens,
MutableFstClass ofst 
)

Definition at line 67 of file pdtscript.cc.

template<class Arc >
void fst::script::PdtReverse ( PdtReverseArgs args)

Definition at line 138 of file pdtscript.h.

void fst::script::PdtShortestPath ( const FstClass ifst,
const std::vector< LabelPair > &  parens,
MutableFstClass ofst,
const PdtShortestPathOptions opts 
)

Definition at line 74 of file pdtscript.cc.

template<class Arc >
void fst::script::PdtShortestPath ( PdtShortestPathArgs args)

Definition at line 171 of file pdtscript.h.

WeightClass fst::script::Plus ( const WeightClass lhs,
const WeightClass rhs 
)

Definition at line 59 of file weight-class.cc.

WeightClass fst::script::Power ( const WeightClass w,
size_t  n 
)

Definition at line 89 of file weight-class.cc.

template<class Arc >
void fst::script::PrintFst ( FstPrinterArgs args)

Definition at line 52 of file print.h.

void fst::script::PrintFst ( const FstClass fst,
std::ostream &  ostrm,
const string &  dest,
const SymbolTable isyms,
const SymbolTable osyms,
const SymbolTable ssyms,
bool  accept,
bool  show_weight_one,
const string &  missing_sym = "" 
)

Definition at line 14 of file print.cc.

template<class Arc >
void fst::script::PrintFst ( const Fst< Arc > &  fst,
std::ostream &  ostrm,
const string &  dest = "",
const SymbolTable isyms = nullptr,
const SymbolTable osyms = nullptr,
const SymbolTable ssyms = nullptr 
)

Definition at line 67 of file print.h.

template<class Arc >
void fst::script::PrintFstInfo ( InfoArgs args)

Definition at line 21 of file info.h.

void fst::script::PrintFstInfo ( const FstClass f,
bool  test_properties,
const string &  arc_filter,
const string &  info_type,
bool  pipe,
bool  verify 
)

Definition at line 13 of file info.cc.

void fst::script::PrintMPdtInfo ( const FstClass ifst,
const std::vector< LabelPair > &  parens,
const std::vector< int64 > &  assignments 
)

Definition at line 52 of file mpdtscript.cc.

template<class Arc >
void fst::script::PrintMPdtInfo ( PrintMPdtInfoArgs args)

Definition at line 128 of file mpdtscript.h.

void fst::script::PrintPdtInfo ( const FstClass ifst,
const std::vector< LabelPair > &  parens 
)

Definition at line 83 of file pdtscript.cc.

template<class Arc >
void fst::script::PrintPdtInfo ( PrintPdtInfoArgs args)

Definition at line 219 of file pdtscript.h.

template<class Arc >
void fst::script::Project ( ProjectArgs args)

Definition at line 18 of file project.h.

void fst::script::Project ( MutableFstClass fst,
ProjectType  project_type 
)

Definition at line 12 of file project.cc.

template<class Arc >
void fst::script::Prune ( PruneArgs1 args)

Definition at line 21 of file prune.h.

template<class Arc >
void fst::script::Prune ( PruneArgs2 args)

Definition at line 33 of file prune.h.

void fst::script::Prune ( const FstClass ifst,
MutableFstClass ofst,
const WeightClass weight_threshold,
int64  state_threshold = kNoStateId,
float  delta = kDelta 
)

Definition at line 11 of file prune.cc.

void fst::script::Prune ( MutableFstClass fst,
const WeightClass weight_threshold,
int64  state_threshold = kNoStateId,
float  delta = kDelta 
)

Definition at line 23 of file prune.cc.

template<class Arc >
void fst::script::Push ( PushArgs1 args)

Definition at line 18 of file push.h.

template<class Arc >
void fst::script::Push ( PushArgs2 args)

Definition at line 27 of file push.h.

void fst::script::Push ( MutableFstClass fst,
ReweightType  rew_type,
float  delta = kDelta,
bool  remove_total_weight = false 
)

Definition at line 11 of file push.cc.

void fst::script::Push ( const FstClass ifst,
MutableFstClass ofst,
uint32  flags,
ReweightType  rew_type,
float  delta = kDelta 
)

Definition at line 17 of file push.cc.

template<class Arc >
void fst::script::RandEquivalent ( RandEquivalentArgs args)

Definition at line 26 of file randequivalent.h.

bool fst::script::RandEquivalent ( const FstClass fst1,
const FstClass fst2,
int32  npath = 1,
float  delta = kDelta,
time_t  seed = time(nullptr),
const RandGenOptions< RandArcSelection > &  opts = RandGenOptions<RandArcSelection>(UNIFORM_ARC_SELECTOR) 
)

Definition at line 11 of file randequivalent.cc.

template<class Arc >
void fst::script::RandGen ( RandGenArgs args)

Definition at line 22 of file randgen.h.

void fst::script::RandGen ( const FstClass ifst,
MutableFstClass ofst,
time_t  seed = time(nullptr),
const RandGenOptions< RandArcSelection > &  opts = RandGenOptions<RandArcSelection>(UNIFORM_ARC_SELECTOR) 
)

Definition at line 11 of file randgen.cc.

bool fst::script::ReadPotentials ( const string &  weight_type,
const string &  filename,
std::vector< WeightClass > *  potentials 
)

Definition at line 20 of file text-io.cc.

fst::script::REGISTER_FST_CLASSES ( StdArc  )
fst::script::REGISTER_FST_CLASSES ( LogArc  )
fst::script::REGISTER_FST_CLASSES ( Log64Arc  )
fst::script::REGISTER_FST_FAR_OPERATIONS ( StdArc  )
fst::script::REGISTER_FST_FAR_OPERATIONS ( LogArc  )
fst::script::REGISTER_FST_FAR_OPERATIONS ( Log64Arc  )
fst::script::REGISTER_FST_LINEAR_OPERATIONS ( StdArc  )
fst::script::REGISTER_FST_LINEAR_OPERATIONS ( LogArc  )
fst::script::REGISTER_FST_MPDT_OPERATIONS ( StdArc  )
fst::script::REGISTER_FST_MPDT_OPERATIONS ( LogArc  )
fst::script::REGISTER_FST_MPDT_OPERATIONS ( Log64Arc  )
fst::script::REGISTER_FST_OPERATION ( Invert  ,
StdArc  ,
MutableFstClass   
)
fst::script::REGISTER_FST_OPERATION ( Connect  ,
StdArc  ,
MutableFstClass   
)
fst::script::REGISTER_FST_OPERATION ( Invert  ,
LogArc  ,
MutableFstClass   
)
fst::script::REGISTER_FST_OPERATION ( InitStateIteratorClass  ,
StdArc  ,
InitStateIteratorClassArgs   
)
fst::script::REGISTER_FST_OPERATION ( ArcSort  ,
StdArc  ,
ArcSortArgs   
)
fst::script::REGISTER_FST_OPERATION ( Closure  ,
StdArc  ,
ClosureArgs   
)
fst::script::REGISTER_FST_OPERATION ( Connect  ,
LogArc  ,
MutableFstClass   
)
fst::script::REGISTER_FST_OPERATION ( InitEncodeMapperClass  ,
StdArc  ,
InitEncodeMapperClassArgs   
)
fst::script::REGISTER_FST_OPERATION ( Invert  ,
Log64Arc  ,
MutableFstClass   
)
fst::script::REGISTER_FST_OPERATION ( Project  ,
StdArc  ,
ProjectArgs   
)
fst::script::REGISTER_FST_OPERATION ( TopSort  ,
StdArc  ,
TopSortArgs   
)
fst::script::REGISTER_FST_OPERATION ( Verify  ,
StdArc  ,
VerifyArgs   
)
fst::script::REGISTER_FST_OPERATION ( ArcSort  ,
LogArc  ,
ArcSortArgs   
)
fst::script::REGISTER_FST_OPERATION ( Closure  ,
LogArc  ,
ClosureArgs   
)
fst::script::REGISTER_FST_OPERATION ( Reweight  ,
StdArc  ,
ReweightArgs   
)
fst::script::REGISTER_FST_OPERATION ( Connect  ,
Log64Arc  ,
MutableFstClass   
)
fst::script::REGISTER_FST_OPERATION ( Project  ,
LogArc  ,
ProjectArgs   
)
fst::script::REGISTER_FST_OPERATION ( InitStateIteratorClass  ,
LogArc  ,
InitStateIteratorClassArgs   
)
fst::script::REGISTER_FST_OPERATION ( TopSort  ,
LogArc  ,
TopSortArgs   
)
fst::script::REGISTER_FST_OPERATION ( Verify  ,
LogArc  ,
VerifyArgs   
)
fst::script::REGISTER_FST_OPERATION ( ArcSort  ,
Log64Arc  ,
ArcSortArgs   
)
fst::script::REGISTER_FST_OPERATION ( Closure  ,
Log64Arc  ,
ClosureArgs   
)
fst::script::REGISTER_FST_OPERATION ( Reweight  ,
LogArc  ,
ReweightArgs   
)
fst::script::REGISTER_FST_OPERATION ( Convert  ,
StdArc  ,
ConvertArgs   
)
fst::script::REGISTER_FST_OPERATION ( Reweight  ,
Log64Arc  ,
ReweightArgs   
)
fst::script::REGISTER_FST_OPERATION ( InitEncodeMapperClass  ,
LogArc  ,
InitEncodeMapperClassArgs   
)
fst::script::REGISTER_FST_OPERATION ( Equal  ,
StdArc  ,
EqualArgs   
)
fst::script::REGISTER_FST_OPERATION ( Equivalent  ,
StdArc  ,
EquivalentArgs   
)
fst::script::REGISTER_FST_OPERATION ( Isomorphic  ,
StdArc  ,
IsomorphicArgs   
)
fst::script::REGISTER_FST_OPERATION ( Verify  ,
Log64Arc  ,
VerifyArgs   
)
fst::script::REGISTER_FST_OPERATION ( Project  ,
Log64Arc  ,
ProjectArgs   
)
fst::script::REGISTER_FST_OPERATION ( TopSort  ,
Log64Arc  ,
TopSortArgs   
)
fst::script::REGISTER_FST_OPERATION ( Convert  ,
LogArc  ,
ConvertArgs   
)
fst::script::REGISTER_FST_OPERATION ( Equal  ,
LogArc  ,
EqualArgs   
)
fst::script::REGISTER_FST_OPERATION ( Map  ,
StdArc  ,
MapArgs   
)
fst::script::REGISTER_FST_OPERATION ( Isomorphic  ,
LogArc  ,
IsomorphicArgs   
)
fst::script::REGISTER_FST_OPERATION ( Equivalent  ,
LogArc  ,
EquivalentArgs   
)
fst::script::REGISTER_FST_OPERATION ( Synchronize  ,
StdArc  ,
SynchronizeArgs   
)
fst::script::REGISTER_FST_OPERATION ( Union  ,
StdArc  ,
UnionArgs   
)
fst::script::REGISTER_FST_OPERATION ( InitStateIteratorClass  ,
Log64Arc  ,
InitStateIteratorClassArgs   
)
fst::script::REGISTER_FST_OPERATION ( RmEpsilon  ,
StdArc  ,
RmEpsilonArgs   
)
fst::script::REGISTER_FST_OPERATION ( Convert  ,
Log64Arc  ,
ConvertArgs   
)
fst::script::REGISTER_FST_OPERATION ( RandGen  ,
StdArc  ,
RandGenArgs   
)
fst::script::REGISTER_FST_OPERATION ( RandEquivalent  ,
StdArc  ,
RandEquivalentArgs   
)
fst::script::REGISTER_FST_OPERATION ( InitEncodeMapperClass  ,
Log64Arc  ,
InitEncodeMapperClassArgs   
)
fst::script::REGISTER_FST_OPERATION ( EpsNormalize  ,
StdArc  ,
EpsNormalizeArgs   
)
fst::script::REGISTER_FST_OPERATION ( Equal  ,
Log64Arc  ,
EqualArgs   
)
fst::script::REGISTER_FST_OPERATION ( Map  ,
LogArc  ,
MapArgs   
)
fst::script::REGISTER_FST_OPERATION ( Reverse  ,
StdArc  ,
ReverseArgs   
)
fst::script::REGISTER_FST_OPERATION ( Union  ,
LogArc  ,
UnionArgs   
)
fst::script::REGISTER_FST_OPERATION ( Isomorphic  ,
Log64Arc  ,
IsomorphicArgs   
)
fst::script::REGISTER_FST_OPERATION ( Synchronize  ,
LogArc  ,
SynchronizeArgs   
)
fst::script::REGISTER_FST_OPERATION ( ShortestPath  ,
StdArc  ,
ShortestPathArgs   
)
fst::script::REGISTER_FST_OPERATION ( Equivalent  ,
Log64Arc  ,
EquivalentArgs   
)
fst::script::REGISTER_FST_OPERATION ( RmEpsilon  ,
LogArc  ,
RmEpsilonArgs   
)
fst::script::REGISTER_FST_OPERATION ( Disambiguate  ,
StdArc  ,
DisambiguateArgs   
)
fst::script::REGISTER_FST_OPERATION ( RandGen  ,
LogArc  ,
RandGenArgs   
)
fst::script::REGISTER_FST_OPERATION ( EpsNormalize  ,
LogArc  ,
EpsNormalizeArgs   
)
fst::script::REGISTER_FST_OPERATION ( Intersect  ,
StdArc  ,
IntersectArgs   
)
fst::script::REGISTER_FST_OPERATION ( RandEquivalent  ,
LogArc  ,
RandEquivalentArgs   
)
fst::script::REGISTER_FST_OPERATION ( Union  ,
Log64Arc  ,
UnionArgs   
)
fst::script::REGISTER_FST_OPERATION ( Minimize  ,
StdArc  ,
MinimizeArgs   
)
fst::script::REGISTER_FST_OPERATION ( Synchronize  ,
Log64Arc  ,
SynchronizeArgs   
)
fst::script::REGISTER_FST_OPERATION ( ShortestPath  ,
LogArc  ,
ShortestPathArgs   
)
fst::script::REGISTER_FST_OPERATION ( Map  ,
Log64Arc  ,
MapArgs   
)
fst::script::REGISTER_FST_OPERATION ( RmEpsilon  ,
Log64Arc  ,
RmEpsilonArgs   
)
fst::script::REGISTER_FST_OPERATION ( Compose  ,
StdArc  ,
ComposeArgs   
)
fst::script::REGISTER_FST_OPERATION ( Reverse  ,
LogArc  ,
ReverseArgs   
)
fst::script::REGISTER_FST_OPERATION ( Determinize  ,
StdArc  ,
DeterminizeArgs   
)
fst::script::REGISTER_FST_OPERATION ( Difference  ,
StdArc  ,
DifferenceArgs   
)
fst::script::REGISTER_FST_OPERATION ( Difference  ,
LogArc  ,
DifferenceArgs   
)
fst::script::REGISTER_FST_OPERATION ( Intersect  ,
LogArc  ,
IntersectArgs   
)
fst::script::REGISTER_FST_OPERATION ( Minimize  ,
LogArc  ,
MinimizeArgs   
)
fst::script::REGISTER_FST_OPERATION ( EpsNormalize  ,
Log64Arc  ,
EpsNormalizeArgs   
)
fst::script::REGISTER_FST_OPERATION ( Disambiguate  ,
LogArc  ,
DisambiguateArgs   
)
fst::script::REGISTER_FST_OPERATION ( RandEquivalent  ,
Log64Arc  ,
RandEquivalentArgs   
)
fst::script::REGISTER_FST_OPERATION ( ShortestPath  ,
Log64Arc  ,
ShortestPathArgs   
)
fst::script::REGISTER_FST_OPERATION ( Compose  ,
LogArc  ,
ComposeArgs   
)
fst::script::REGISTER_FST_OPERATION ( RandGen  ,
Log64Arc  ,
RandGenArgs   
)
fst::script::REGISTER_FST_OPERATION ( Reverse  ,
Log64Arc  ,
ReverseArgs   
)
fst::script::REGISTER_FST_OPERATION ( Determinize  ,
LogArc  ,
DeterminizeArgs   
)
fst::script::REGISTER_FST_OPERATION ( Disambiguate  ,
Log64Arc  ,
DisambiguateArgs   
)
fst::script::REGISTER_FST_OPERATION ( Minimize  ,
Log64Arc  ,
MinimizeArgs   
)
fst::script::REGISTER_FST_OPERATION ( PrintFst  ,
StdArc  ,
FstPrinterArgs   
)
fst::script::REGISTER_FST_OPERATION ( Intersect  ,
Log64Arc  ,
IntersectArgs   
)
fst::script::REGISTER_FST_OPERATION ( Compose  ,
Log64Arc  ,
ComposeArgs   
)
fst::script::REGISTER_FST_OPERATION ( Difference  ,
Log64Arc  ,
DifferenceArgs   
)
fst::script::REGISTER_FST_OPERATION ( InitArcIteratorClass  ,
StdArc  ,
InitArcIteratorClassArgs   
)
fst::script::REGISTER_FST_OPERATION ( Determinize  ,
Log64Arc  ,
DeterminizeArgs   
)
fst::script::REGISTER_FST_OPERATION ( InitArcIteratorClass  ,
LogArc  ,
InitArcIteratorClassArgs   
)
fst::script::REGISTER_FST_OPERATION ( ShortestDistance  ,
StdArc  ,
ShortestDistanceArgs1   
)
fst::script::REGISTER_FST_OPERATION ( PrintFst  ,
LogArc  ,
FstPrinterArgs   
)
fst::script::REGISTER_FST_OPERATION ( PrintFst  ,
Log64Arc  ,
FstPrinterArgs   
)
fst::script::REGISTER_FST_OPERATION ( DrawFst  ,
StdArc  ,
FstDrawerArgs   
)
fst::script::REGISTER_FST_OPERATION ( ShortestDistance  ,
LogArc  ,
ShortestDistanceArgs1   
)
fst::script::REGISTER_FST_OPERATION ( InitArcIteratorClass  ,
Log64Arc  ,
InitArcIteratorClassArgs   
)
fst::script::REGISTER_FST_OPERATION ( Decode  ,
StdArc  ,
DecodeArgs1   
)
fst::script::REGISTER_FST_OPERATION ( DrawFst  ,
LogArc  ,
FstDrawerArgs   
)
fst::script::REGISTER_FST_OPERATION ( Encode  ,
StdArc  ,
EncodeArgs1   
)
fst::script::REGISTER_FST_OPERATION ( Push  ,
StdArc  ,
PushArgs1   
)
fst::script::REGISTER_FST_OPERATION ( ShortestDistance  ,
Log64Arc  ,
ShortestDistanceArgs1   
)
fst::script::REGISTER_FST_OPERATION ( PrintFstInfo  ,
StdArc  ,
InfoArgs   
)
fst::script::REGISTER_FST_OPERATION ( Decode  ,
LogArc  ,
DecodeArgs1   
)
fst::script::REGISTER_FST_OPERATION ( Push  ,
LogArc  ,
PushArgs1   
)
fst::script::REGISTER_FST_OPERATION ( PrintFstInfo  ,
LogArc  ,
InfoArgs   
)
fst::script::REGISTER_FST_OPERATION ( DrawFst  ,
Log64Arc  ,
FstDrawerArgs   
)
fst::script::REGISTER_FST_OPERATION ( Encode  ,
LogArc  ,
EncodeArgs1   
)
fst::script::REGISTER_FST_OPERATION ( Relabel  ,
StdArc  ,
RelabelArgs1   
)
fst::script::REGISTER_FST_OPERATION ( Decode  ,
Log64Arc  ,
DecodeArgs1   
)
fst::script::REGISTER_FST_OPERATION ( ShortestDistance  ,
StdArc  ,
ShortestDistanceArgs2   
)
fst::script::REGISTER_FST_OPERATION ( PrintFstInfo  ,
Log64Arc  ,
InfoArgs   
)
fst::script::REGISTER_FST_OPERATION ( Push  ,
Log64Arc  ,
PushArgs1   
)
fst::script::REGISTER_FST_OPERATION ( Encode  ,
Log64Arc  ,
EncodeArgs1   
)
fst::script::REGISTER_FST_OPERATION ( Replace  ,
StdArc  ,
ReplaceArgs   
)
fst::script::REGISTER_FST_OPERATION ( InitMutableArcIteratorClass  ,
StdArc  ,
InitMutableArcIteratorClassArgs   
)
fst::script::REGISTER_FST_OPERATION ( Relabel  ,
LogArc  ,
RelabelArgs1   
)
fst::script::REGISTER_FST_OPERATION ( Decode  ,
StdArc  ,
DecodeArgs2   
)
fst::script::REGISTER_FST_OPERATION ( ShortestDistance  ,
LogArc  ,
ShortestDistanceArgs2   
)
fst::script::REGISTER_FST_OPERATION ( Replace  ,
LogArc  ,
ReplaceArgs   
)
fst::script::REGISTER_FST_OPERATION ( Compress  ,
StdArc  ,
CompressArgs   
)
fst::script::REGISTER_FST_OPERATION ( Relabel  ,
Log64Arc  ,
RelabelArgs1   
)
fst::script::REGISTER_FST_OPERATION ( Replace  ,
Log64Arc  ,
ReplaceArgs   
)
fst::script::REGISTER_FST_OPERATION ( Encode  ,
StdArc  ,
EncodeArgs2   
)
fst::script::REGISTER_FST_OPERATION ( GetFstInfo  ,
StdArc  ,
GetInfoArgs   
)
fst::script::REGISTER_FST_OPERATION ( Decode  ,
LogArc  ,
DecodeArgs2   
)
fst::script::REGISTER_FST_OPERATION ( Concat  ,
StdArc  ,
ConcatArgs1   
)
fst::script::REGISTER_FST_OPERATION ( ShortestDistance  ,
Log64Arc  ,
ShortestDistanceArgs2   
)
fst::script::REGISTER_FST_OPERATION ( Compress  ,
LogArc  ,
CompressArgs   
)
fst::script::REGISTER_FST_OPERATION ( Push  ,
StdArc  ,
PushArgs2   
)
fst::script::REGISTER_FST_OPERATION ( InitMutableArcIteratorClass  ,
LogArc  ,
InitMutableArcIteratorClassArgs   
)
fst::script::REGISTER_FST_OPERATION ( Encode  ,
LogArc  ,
EncodeArgs2   
)
fst::script::REGISTER_FST_OPERATION ( GetFstInfo  ,
LogArc  ,
GetInfoArgs   
)
fst::script::REGISTER_FST_OPERATION ( Push  ,
LogArc  ,
PushArgs2   
)
fst::script::REGISTER_FST_OPERATION ( Decode  ,
Log64Arc  ,
DecodeArgs2   
)
fst::script::REGISTER_FST_OPERATION ( Compress  ,
Log64Arc  ,
CompressArgs   
)
fst::script::REGISTER_FST_OPERATION ( Relabel  ,
StdArc  ,
RelabelArgs2   
)
fst::script::REGISTER_FST_OPERATION ( Concat  ,
LogArc  ,
ConcatArgs1   
)
fst::script::REGISTER_FST_OPERATION ( Concat  ,
Log64Arc  ,
ConcatArgs1   
)
fst::script::REGISTER_FST_OPERATION ( Relabel  ,
LogArc  ,
RelabelArgs2   
)
fst::script::REGISTER_FST_OPERATION ( Prune  ,
StdArc  ,
PruneArgs1   
)
fst::script::REGISTER_FST_OPERATION ( Encode  ,
Log64Arc  ,
EncodeArgs2   
)
fst::script::REGISTER_FST_OPERATION ( Push  ,
Log64Arc  ,
PushArgs2   
)
fst::script::REGISTER_FST_OPERATION ( GetFstInfo  ,
Log64Arc  ,
GetInfoArgs   
)
fst::script::REGISTER_FST_OPERATION ( InitMutableArcIteratorClass  ,
Log64Arc  ,
InitMutableArcIteratorClassArgs   
)
fst::script::REGISTER_FST_OPERATION ( Relabel  ,
Log64Arc  ,
RelabelArgs2   
)
fst::script::REGISTER_FST_OPERATION ( Prune  ,
LogArc  ,
PruneArgs1   
)
fst::script::REGISTER_FST_OPERATION ( Decompress  ,
StdArc  ,
DecompressArgs   
)
fst::script::REGISTER_FST_OPERATION ( OpenFarReaderClass  ,
StdArc  ,
OpenFarReaderClassArgs   
)
fst::script::REGISTER_FST_OPERATION ( Decompress  ,
LogArc  ,
DecompressArgs   
)
fst::script::REGISTER_FST_OPERATION ( OpenFarReaderClass  ,
LogArc  ,
OpenFarReaderClassArgs   
)
fst::script::REGISTER_FST_OPERATION ( Prune  ,
Log64Arc  ,
PruneArgs1   
)
fst::script::REGISTER_FST_OPERATION ( Concat  ,
StdArc  ,
ConcatArgs2   
)
fst::script::REGISTER_FST_OPERATION ( OpenFarReaderClass  ,
Log64Arc  ,
OpenFarReaderClassArgs   
)
fst::script::REGISTER_FST_OPERATION ( Decompress  ,
Log64Arc  ,
DecompressArgs   
)
fst::script::REGISTER_FST_OPERATION ( Concat  ,
LogArc  ,
ConcatArgs2   
)
fst::script::REGISTER_FST_OPERATION ( Concat  ,
Log64Arc  ,
ConcatArgs2   
)
fst::script::REGISTER_FST_OPERATION ( Prune  ,
StdArc  ,
PruneArgs2   
)
fst::script::REGISTER_FST_OPERATION ( Prune  ,
LogArc  ,
PruneArgs2   
)
fst::script::REGISTER_FST_OPERATION ( Prune  ,
Log64Arc  ,
PruneArgs2   
)
fst::script::REGISTER_FST_OPERATION ( CompileFstInternal  ,
StdArc  ,
CompileFstArgs   
)
fst::script::REGISTER_FST_OPERATION ( CompileFstInternal  ,
LogArc  ,
CompileFstArgs   
)
fst::script::REGISTER_FST_OPERATION ( CompileFstInternal  ,
Log64Arc  ,
CompileFstArgs   
)
fst::script::REGISTER_FST_OPERATION ( CreateFarWriterClass  ,
StdArc  ,
CreateFarWriterClassArgs   
)
fst::script::REGISTER_FST_OPERATION ( CreateFarWriterClass  ,
LogArc  ,
CreateFarWriterClassArgs   
)
fst::script::REGISTER_FST_OPERATION ( CreateFarWriterClass  ,
Log64Arc  ,
CreateFarWriterClassArgs   
)
fst::script::REGISTER_FST_PDT_OPERATIONS ( StdArc  )
fst::script::REGISTER_FST_PDT_OPERATIONS ( LogArc  )
fst::script::REGISTER_FST_PDT_OPERATIONS ( Log64Arc  )
fst::script::REGISTER_FST_WEIGHT ( StdArc::Weight  )
template<class Arc >
void fst::script::Relabel ( RelabelArgs1 args)

Definition at line 24 of file relabel.h.

template<class Arc >
void fst::script::Relabel ( RelabelArgs2 args)

Definition at line 38 of file relabel.h.

void fst::script::Relabel ( MutableFstClass ofst,
const SymbolTable old_isymbols,
const SymbolTable new_isymbols,
const string &  unknown_isymbol,
bool  attach_new_isymbols,
const SymbolTable old_osymbols,
const SymbolTable new_osymbols,
const string &  unknown_osymbol,
bool  attach_new_osymbols 
)

Definition at line 11 of file relabel.cc.

void fst::script::Relabel ( MutableFstClass ofst,
const std::vector< LabelPair > &  ipairs,
const std::vector< LabelPair > &  opairs 
)

Definition at line 22 of file relabel.cc.

template<class Arc >
void fst::script::Replace ( ReplaceArgs args)

Definition at line 39 of file replace.h.

void fst::script::Replace ( const std::vector< LabelFstClassPair > &  pairs,
MutableFstClass ofst,
const ReplaceOptions opts 
)

Definition at line 11 of file replace.cc.

template<class InputIterator , class OutputIterator , class T >
size_t fst::script::ReplaceCopy ( InputIterator  first,
InputIterator  last,
OutputIterator  result,
const T &  old_value,
const T &  new_value 
)

Definition at line 67 of file linearscript.h.

template<class Arc >
void fst::script::Reverse ( ReverseArgs args)

Definition at line 18 of file reverse.h.

void fst::script::Reverse ( const FstClass ifst,
MutableFstClass ofst,
bool  require_superinitial = true 
)

Definition at line 11 of file reverse.cc.

template<class Arc >
void fst::script::Reweight ( ReweightArgs args)

Definition at line 22 of file reweight.h.

void fst::script::Reweight ( MutableFstClass fst,
const std::vector< WeightClass > &  potentials,
ReweightType  reweight_type 
)

Definition at line 11 of file reweight.cc.

template<class Arc >
void fst::script::RmEpsilon ( RmEpsilonArgs args)

Definition at line 98 of file rmepsilon.h.

void fst::script::RmEpsilon ( MutableFstClass fst,
const RmEpsilonOptions opts 
)

Definition at line 11 of file rmepsilon.cc.

int fst::script::ScanNumClasses ( char **  models,
int  models_len 
)

Definition at line 67 of file linearscript.cc.

template<class Arc >
void fst::script::ShortestDistance ( ShortestDistanceArgs1 args)

Definition at line 143 of file shortest-distance.h.

template<class Arc >
void fst::script::ShortestDistance ( ShortestDistanceArgs2 args)

Definition at line 195 of file shortest-distance.h.

void fst::script::ShortestDistance ( const FstClass fst,
std::vector< WeightClass > *  distance,
const ShortestDistanceOptions opts 
)

Definition at line 11 of file shortest-distance.cc.

void fst::script::ShortestDistance ( const FstClass ifst,
std::vector< WeightClass > *  distance,
bool  reverse = false,
double  delta = fst::kShortestDelta 
)

Definition at line 18 of file shortest-distance.cc.

template<class Arc >
void fst::script::ShortestPath ( ShortestPathArgs args)

Definition at line 103 of file shortest-path.h.

void fst::script::ShortestPath ( const FstClass ifst,
MutableFstClass ofst,
const ShortestPathOptions opts 
)

Definition at line 11 of file shortest-path.cc.

template<class Arc >
void fst::script::SplitAndPush ( const string &  str,
const char  delim,
SymbolTable syms,
std::vector< typename Arc::Label > *  output 
)

Definition at line 56 of file linearscript.h.

void fst::script::SplitByWhitespace ( const string &  str,
std::vector< string > *  out 
)

Definition at line 60 of file linearscript.cc.

template<class M >
Fst<typename M::ToArc>* fst::script::StateMap ( const Fst< typename M::FromArc > &  fst,
const M &  mapper 
)

Definition at line 29 of file map.h.

template<class W >
WeightImplBase* fst::script::StrToWeightImplBase ( const string &  str,
const string &  src,
size_t  nline 
)

Definition at line 190 of file weight-class.h.

template<class Arc >
void fst::script::Synchronize ( SynchronizeArgs args)

Definition at line 18 of file synchronize.h.

void fst::script::Synchronize ( const FstClass ifst,
MutableFstClass ofst 
)

Definition at line 11 of file synchronize.cc.

WeightClass fst::script::Times ( const WeightClass lhs,
const WeightClass rhs 
)

Definition at line 69 of file weight-class.cc.

template<class Arc >
void fst::script::TopSort ( TopSortArgs args)

Definition at line 17 of file topsort.h.

bool fst::script::TopSort ( MutableFstClass fst)

Definition at line 11 of file topsort.cc.

template<class Arc >
void fst::script::Union ( UnionArgs args)

Definition at line 18 of file union.h.

void fst::script::Union ( MutableFstClass fst1,
const FstClass fst2 
)

Definition at line 11 of file union.cc.

bool fst::script::ValidateDelimiter ( )

Definition at line 30 of file linearscript.cc.

bool fst::script::ValidateEmptySymbol ( )

Definition at line 36 of file linearscript.cc.

template<class Arc >
void fst::script::Verify ( VerifyArgs args)

Definition at line 17 of file verify.h.

bool fst::script::Verify ( const FstClass fst)

Definition at line 11 of file verify.cc.

bool fst::script::WritePotentials ( const string &  filename,
const std::vector< WeightClass > &  potentials 
)

Definition at line 52 of file text-io.cc.