Searched defs:fst_tuples (Results 1 - 6 of 6) sorted by relevance

/external/openfst/src/bin/
H A Dfstreplace.cc48 vector<FstTuple> fst_tuples; local
50 fst_tuples.push_back(make_pair(root, ifst));
56 fst_tuples.push_back(make_pair(lab, ifst));
60 Replace(fst_tuples, &ofst, root, FLAGS_epsilon_on_replace);
/external/openfst/src/extensions/pdt/
H A Dpdtreplace.cc54 vector<FstTuple> fst_tuples; local
56 fst_tuples.push_back(make_pair(root, ifst));
62 fst_tuples.push_back(make_pair(lab, ifst));
67 s::PdtReplace(fst_tuples, &ofst, &parens, root);
H A Dpdtscript.cc68 void PdtReplace(const vector<pair<int64, const FstClass*> > &fst_tuples, argument
72 for (unsigned i = 0; i < fst_tuples.size() - 1; ++i) {
73 if (!ArcTypesMatch(*(fst_tuples[i].second),
74 *(fst_tuples[i+1].second), "PdtReplace")) return;
77 if (!ArcTypesMatch((*fst_tuples[0].second), *ofst, "PdtReplace")) return;
79 PdtReplaceArgs args(fst_tuples, ofst, parens, root);
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dreplace.h97 // \param fst_tuples array of label/fst tuples, one for each non-terminal
98 ReplaceFstImpl(const vector< pair<Label, const Fst<A>* > >& fst_tuples, argument
102 if (fst_tuples.size() > 0) {
103 SetInputSymbols(fst_tuples[0].second->InputSymbols());
104 SetOutputSymbols(fst_tuples[0].second->OutputSymbols());
108 for (size_t i = 0; i < fst_tuples.size(); ++i)
109 AddFst(fst_tuples[i].first, fst_tuples[i].second);
/external/openfst/src/include/fst/
H A Daccumulator.h617 void Init(const vector<pair<Label, const Fst<Arc>*> > &fst_tuples, argument
620 accumulators_.resize(fst_tuples.size());
624 accumulators_[i]->Init(*(fst_tuples[i].second));
625 fst_array_.push_back(fst_tuples[i].second->Copy());
688 void Init(const vector<pair<Label, const Fst<Arc>*> > &fst_tuples, argument
691 data_->Init(fst_tuples, state_table);
H A Dreplace.h60 // ReplaceStateTable(const vector<pair<Label, const Fst<A>*> > &fst_tuples,
185 const vector<pair<Label, const Fst<A>*> > &fst_tuples,
188 for (size_t i = 0; i < fst_tuples.size(); ++i) {
189 if (fst_tuples[i].first == root) {
190 root_size_ = CountStates(*(fst_tuples[i].second));
194 CountStates(*(fst_tuples[i].second)));
254 const vector<pair<Label, const Fst<A>*> > &fst_tuples,
340 // \param fst_tuples array of label/fst tuples, one for each non-terminal
341 ReplaceFstImpl(const vector< pair<Label, const Fst<A>* > >& fst_tuples, argument
346 new StateTable(fst_tuples, opt
184 VectorHashReplaceStateTable( const vector<pair<Label, const Fst<A>*> > &fst_tuples, Label root) argument
253 DefaultReplaceStateTable( const vector<pair<Label, const Fst<A>*> > &fst_tuples, Label root) argument
[all...]

Completed in 426 milliseconds