FST  openfst-1.7.1
OpenFst Library
Classes | Namespaces | Macros | Typedefs | Functions
farscript.h File Reference
#include <string>
#include <vector>
#include <fst/types.h>
#include <fst/extensions/far/compile-strings.h>
#include <fst/extensions/far/create.h>
#include <fst/extensions/far/equal.h>
#include <fst/extensions/far/extract.h>
#include <fst/extensions/far/far.h>
#include <fst/extensions/far/far-class.h>
#include <fst/extensions/far/info.h>
#include <fst/extensions/far/isomorphic.h>
#include <fst/extensions/far/print-strings.h>
#include <fst/extensions/far/script-impl.h>
#include <fst/script/arg-packs.h>
Include dependency graph for farscript.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fst::script::FarCompileStringsArgs
 
struct  fst::script::FarCreateArgs
 
struct  fst::script::FarPrintStringsArgs
 

Namespaces

 fst
 
 fst::script
 

Macros

#define REGISTER_FST_FAR_OPERATIONS(ArcType)
 

Typedefs

using fst::script::FarEqualInnerArgs = std::tuple< const string &, const string &, float, const string &, const string & >
 
using fst::script::FarEqualArgs = WithReturnValue< bool, FarEqualInnerArgs >
 
using fst::script::FarExtractArgs = std::tuple< const std::vector< string > &, int32, const string &, const string &, const string &, const string &, const string & >
 
using fst::script::FarInfoArgs = std::tuple< const std::vector< string > &, const string &, const string &, const bool >
 
using fst::script::GetFarInfoArgs = std::tuple< const std::vector< string > &, const string &, const string &, const bool, FarInfoData * >
 
using fst::script::FarIsomorphicInnerArgs = std::tuple< const string &, const string &, float, const string &, const string & >
 
using fst::script::FarIsomorphicArgs = WithReturnValue< bool, FarIsomorphicInnerArgs >
 

Functions

template<class Arc >
void fst::script::FarCompileStrings (FarCompileStringsArgs *args)
 
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)
 
template<class Arc >
void fst::script::FarCreate (FarCreateArgs *args)
 
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)
 
template<class Arc >
void fst::script::FarEqual (FarEqualArgs *args)
 
bool fst::script::FarEqual (const string &filename1, const string &filename2, const string &arc_type, float delta, const string &begin_key, const string &end_key)
 
template<class Arc >
void fst::script::FarExtract (FarExtractArgs *args)
 
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)
 
template<class Arc >
void fst::script::FarInfo (FarInfoArgs *args)
 
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)
 
template<class Arc >
void fst::script::GetFarInfo (GetFarInfoArgs *args)
 
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)
 
template<class Arc >
void fst::script::FarIsomorphic (FarIsomorphicArgs *args)
 
bool fst::script::FarIsomorphic (const string &filename1, const string &filename2, const string &arc_type, float delta, const string &begin_key, const string &end_key)
 
template<class Arc >
void fst::script::FarPrintStrings (FarPrintStringsArgs *args)
 
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)
 

Macro Definition Documentation

#define REGISTER_FST_FAR_OPERATIONS (   ArcType)
Value:
REGISTER_FST_OPERATION(FarCompileStrings, ArcType, FarCompileStringsArgs); \
REGISTER_FST_OPERATION(FarCreate, ArcType, FarCreateArgs); \
REGISTER_FST_OPERATION(FarPrintStrings, ArcType, FarPrintStringsArgs); \
void FarIsomorphic(FarIsomorphicArgs *args)
Definition: farscript.h:190
#define REGISTER_FST_OPERATION(Op, Arc, ArgPack)
Definition: script-impl.h:150
void GetFarInfo(GetFarInfoArgs *args)
Definition: farscript.h:174
void FarCompileStrings(FarCompileStringsArgs *args)
Definition: farscript.h:73
std::tuple< const std::vector< string > &, const string &, const string &, const bool, FarInfoData * > GetFarInfoArgs
Definition: farscript.h:171
void FarCreate(FarCreateArgs *args)
Definition: farscript.h:113
void FarInfo(FarInfoArgs *args)
Definition: farscript.h:161
WithReturnValue< bool, FarEqualInnerArgs > FarEqualArgs
Definition: farscript.h:126
WithReturnValue< bool, FarIsomorphicInnerArgs > FarIsomorphicArgs
Definition: farscript.h:187
std::tuple< const std::vector< string > &, const string &, const string &, const bool > FarInfoArgs
Definition: farscript.h:158
std::tuple< const std::vector< string > &, int32, const string &, const string &, const string &, const string &, const string & > FarExtractArgs
Definition: farscript.h:142
void FarEqual(FarEqualArgs *args)
Definition: farscript.h:129
void FarExtract(FarExtractArgs *args)
Definition: farscript.h:145
void FarPrintStrings(FarPrintStringsArgs *args)
Definition: farscript.h:239

Definition at line 259 of file farscript.h.