游雁
2024-02-19 94de39dde2e616a01683c518023d0fab72b4e103
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// See www.openfst.org for extensive documentation on this weighted
// finite-state transducer library.
//
// Classes and functions for registering and invoking FAR main
// functions that support multiple and extensible arc types.
 
#ifndef FST_EXTENSIONS_FAR_GETTERS_H_
#define FST_EXTENSIONS_FAR_GETTERS_H_
 
#include <fst/flags.h>
#include <fst/extensions/far/far.h>
 
namespace fst {
namespace script {
 
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);
 
}  // namespace script
 
string GetFarTypeString(FarType type);
 
}  // namespace fst
 
#endif  // FST_EXTENSIONS_FAR_GETTERS_H_