Searched refs:in_fnames (Results 1 – 6 of 6) sorted by relevance
/external/openfst/src/extensions/far/ |
D | farcreate.cc | 47 vector<string> in_fnames; in main() local 49 in_fnames.push_back(strcmp(argv[i], "") != 0 ? argv[i] : ""); in main() 50 if (in_fnames.empty()) in main() 51 in_fnames.push_back(argc == 2 && strcmp(argv[1], "-") != 0 ? argv[1] : ""); in main() 56 string arc_type = fst::LoadArcTypeFromFst(in_fnames[0]); in main() 59 s::FarCreate(in_fnames, out_fname, arc_type, FLAGS_generate_keys, in main()
|
D | farcompilestrings.cc | 66 vector<string> in_fnames; in main() local 68 in_fnames.push_back(strcmp(argv[i], "") != 0 ? argv[i] : ""); in main() 69 if (in_fnames.empty()) in main() 70 in_fnames.push_back(argc == 2 && strcmp(argv[1], "-") != 0 ? argv[1] : ""); in main() 79 s::FarCompileStrings(in_fnames, out_fname, FLAGS_arc_type, FLAGS_fst_type, in main()
|
D | farscript.cc | 27 void FarCompileStrings(const vector<string> &in_fnames, in FarCompileStrings() argument 43 FarCompileStringsArgs args(in_fnames, out_fname, fst_type, far_type, in FarCompileStrings() 53 void FarCreate(const vector<string> &in_fnames, in FarCreate() argument 61 FarCreateArgs args(in_fnames, out_fname, generate_keys, file_list_input, in FarCreate()
|
/external/openfst/src/include/fst/extensions/far/ |
D | farscript.h | 46 const vector<string> &in_fnames; member 62 FarCompileStringsArgs(const vector<string> &in_fnames, in FarCompileStringsArgs() 77 in_fnames(in_fnames), out_fname(out_fname), fst_type(fst_type), in FarCompileStringsArgs() 89 args->in_fnames, args->out_fname, args->fst_type, args->far_type, in FarCompileStrings() 97 const vector<string> &in_fnames, 120 const vector<string> &in_fnames; member 129 const vector<string> &in_fnames, const string &out_fname, in FarCreateArgs() 133 : in_fnames(in_fnames), out_fname(out_fname), in FarCreateArgs() 140 fst::FarCreate<Arc>(args->in_fnames, args->out_fname, args->generate_keys, in FarCreate() 145 void FarCreate(const vector<string> &in_fnames,
|
D | create.h | 38 void FarCreate(const vector<string> &in_fnames, in FarCreate() argument 51 for (int i = 1; i < in_fnames.size(); ++i) { in FarCreate() 52 ifstream istrm(in_fnames[i].c_str()); in FarCreate() 58 inputs = in_fnames; in FarCreate()
|
D | compile-strings.h | 141 void FarCompileStrings(const vector<string> &in_fnames, in FarCompileStrings() argument 216 for (int i = 1; i < in_fnames.size(); ++i) { in FarCompileStrings() 217 istream *istrm = in_fnames.empty() ? &cin : in FarCompileStrings() 218 new ifstream(in_fnames[i].c_str()); in FarCompileStrings() 222 if (!in_fnames.empty()) in FarCompileStrings() 226 inputs = in_fnames; in FarCompileStrings()
|