FST  openfst-1.7.9
OpenFst Library
getters.h
Go to the documentation of this file.
1 // See www.openfst.org for extensive documentation on this weighted
2 // finite-state transducer library.
3 //
4 // Classes and functions for registering and invoking FAR main
5 // functions that support multiple and extensible arc types.
6 
7 #ifndef FST_EXTENSIONS_FAR_GETTERS_H_
8 #define FST_EXTENSIONS_FAR_GETTERS_H_
9 
10 #include <fst/flags.h>
11 #include <fst/extensions/far/far.h>
12 #include <fst/string.h>
13 
14 namespace fst {
15 namespace script {
16 
17 bool GetFarType(const std::string &str, FarType *far_type);
18 
19 bool GetFarEntryType(const std::string &str, FarEntryType *entry_type);
20 
21 void ExpandArgs(int argc, char **argv, int *argcp, char ***argvp);
22 
23 } // namespace script
24 
25 std::string GetFarTypeString(FarType far_type);
26 
27 } // namespace fst
28 
29 #endif // FST_EXTENSIONS_FAR_GETTERS_H_
std::string GetFarTypeString(FarType far_type)
Definition: getters.cc:50
bool GetFarType(const std::string &str, FarType *far_type)
Definition: getters.cc:19
void ExpandArgs(int argc, char **argv, int *argcp, char ***argvp)
Definition: getters.cc:45
FarType
Definition: far.h:69
bool GetFarEntryType(const std::string &str, FarEntryType *entry_type)
Definition: getters.cc:34
FarEntryType
Definition: far.h:21