Home | History | Annotate | Download | only in lib

Lines Matching refs:fst_array_

107     fst_array_.push_back(0);
116 fst_array_.push_back(0);
130 fst_array_.reserve(impl.fst_array_.size());
131 fst_array_.push_back(0);
132 for (size_t i = 1; i < impl.fst_array_.size(); ++i)
133 fst_array_.push_back(impl.fst_array_[i]->Copy());
137 for (size_t i = 1; i < fst_array_.size(); ++i) {
138 delete fst_array_[i];
144 nonterminal_hash_[label] = fst_array_.size();
145 fst_array_.push_back(fst->Copy());
146 if (fst_array_.size() > 1) {
147 vector<uint64> inprops(fst_array_.size());
149 for (size_t i = 1; i < fst_array_.size(); ++i) {
150 inprops[i] = fst_array_[i]->Properties(kCopyProperties, false);
154 const SymbolTable* isymbols = fst_array_[1]->InputSymbols();
155 const SymbolTable* osymbols = fst_array_[1]->OutputSymbols();
156 for (size_t i = 2; i < fst_array_.size(); ++i) {
157 if (!CompatSymbols(isymbols, fst_array_[i]->InputSymbols())) {
161 if (!CompatSymbols(osymbols, fst_array_[i]->OutputSymbols())) {
177 for (size_t i = 1; i < fst_array_.size(); ++i)
182 for (size_t i = 1; i < fst_array_.size(); ++i) {
183 for (StateIterator<Fst<A> > siter(*(fst_array_[i]));
185 for (ArcIterator<Fst<A> > aiter(*(fst_array_[i]), siter.Value());
213 delete fst_array_[nonterminal];
214 fst_array_[nonterminal] = fst->Copy();
220 if (fst_array_.size() == 1) { // no fsts defined for replace
224 const Fst<A>* fst = fst_array_[root_];
244 const Fst<A>* fst = fst_array_[tuple.fst_id];
298 const Fst<A>* fst = fst_array_[tuple.fst_id];
330 const Fst<A>* nt_fst = fst_array_[nonterminal];
502 vector<const Fst<A>*> fst_array_;