/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
arcfilter.h | 37 return arc.ilabel == 0 && arc.olabel == 0;
|
arc.h | 36 : ilabel(i), olabel(o), weight(w), nextstate(s) {} 45 Label ilabel; // Transition input label member in struct:fst::StdArc 60 : ilabel(i), olabel(o), weight(w), nextstate(s) {} 69 Label ilabel; // Transition input label member in struct:fst::LogArc 85 : ilabel(i), olabel(o), weight(w), nextstate(s) {} 98 Label ilabel; // Transition input label member in class:fst::StringArc 117 : ilabel(i), olabel(o), weight(w), nextstate(s) {} 120 : ilabel(arc.ilabel), olabel(arc.ilabel), 132 Label ilabel; \/\/ Transition input label member in struct:fst::GallicArc 157 Label ilabel; \/\/ Transition input label member in struct:fst::ReverseArc [all...] |
arcsum.h | 31 if (x.ilabel < y.ilabel) return true; 32 if (x.ilabel > y.ilabel) return false; 46 return (x.ilabel == y.ilabel &&
|
equal.h | 72 if (arc1.ilabel != arc2.ilabel) { 76 << ", ilabel1 = " << arc1.ilabel 77 << ", ilabel2 = " << arc2.ilabel;
|
test-properties.h | 138 if (ilabels && ilabels->find(arc.ilabel) != ilabels->end()) { 146 if (arc.ilabel != arc.olabel) { 150 if (arc.ilabel == 0 && arc.olabel == 0) { 154 if (arc.ilabel == 0) { 162 if (prev_arc.ilabel != kNoLabel && arc.ilabel < prev_arc.ilabel) { 184 ilabels->insert(arc.ilabel);
|
map.h | 108 CHECK(final_arc.ilabel == 0 && final_arc.olabel == 0); 115 if (final_arc.ilabel != 0 || final_arc.olabel != 0) { 133 if (final_arc.ilabel != 0 || final_arc.olabel != 0 || 135 fst->AddArc(s, A(final_arc.ilabel, final_arc.olabel, 191 CHECK(final_arc.ilabel == 0 && final_arc.olabel == 0); 197 if (final_arc.ilabel != 0 || final_arc.olabel != 0) { 213 if (final_arc.ilabel != 0 || final_arc.olabel != 0 || 215 ofst->AddArc(s, B(final_arc.ilabel, final_arc.olabel, 308 CHECK(final_arc.ilabel == 0 && final_arc.olabel == 0); 318 if (final_arc.ilabel == 0 && final_arc.olabel == 0 [all...] |
encode.h | 50 : ilabel(ilabel_), olabel(olabel_), weight(weight_) {} 52 : ilabel(tuple.ilabel), olabel(tuple.olabel), weight(tuple.weight) {} 54 Label ilabel; member in struct:fst::EncodeTable::Tuple 63 return (x->ilabel == y->ilabel && 84 int lshift = x->ilabel % kPrime; 86 size_t hash = x->ilabel << lshift; 113 const Tuple tuple(arc.ilabel, 138 WriteType(strm, tuple->ilabel); [all...] |
verify.h | 62 if (arc.ilabel < 0) { 66 } else if (isyms && isyms->Find(arc.ilabel) == "") { 67 LOG(ERROR) << "Verify: Fst input label ID " << arc.ilabel
|
invert.h | 32 return A(arc.olabel, arc.ilabel, arc.weight, arc.nextstate);
|
/external/openfst/src/include/fst/ |
arcfilter.h | 44 return arc.ilabel == 0 && arc.olabel == 0; 54 return arc.ilabel == 0; 82 Label label = match_input_ ? arc.ilabel : arc.olabel;
|
arc.h | 51 : ilabel(i), olabel(o), weight(w), nextstate(s) {} 61 Label ilabel; member in class:fst::ArcTpl 84 : ilabel(i), olabel(o), weight(w), nextstate(s) {} 97 Label ilabel; // Transition input label member in class:fst::StringArc 116 : ilabel(i), olabel(o), weight(w), nextstate(s) {} 119 : ilabel(arc.ilabel), olabel(arc.ilabel), 131 Label ilabel; // Transition input label member in struct:fst::GallicArc 147 : ilabel(i), olabel(o), weight(w), nextstate(s) { 156 Label ilabel; \/\/ Transition input label member in struct:fst::ReverseArc 180 Label ilabel; \/\/ Transition input label member in struct:fst::LexicographicArc 204 Label ilabel; \/\/ Transition input label member in struct:fst::ProductArc 236 Label ilabel; \/\/ Transition input label member in struct:fst::PowerArc 268 Label ilabel; \/\/ Transition input label member in struct:fst::SparsePowerArc 299 Label ilabel; \/\/ Transition input label member in struct:fst::ExpectationArc [all...] |
equal.h | 75 if (arc1.ilabel != arc2.ilabel) { 79 << ", ilabel1 = " << arc1.ilabel 80 << ", ilabel2 = " << arc2.ilabel;
|
test-properties.h | 141 if (ilabels && ilabels->find(arc.ilabel) != ilabels->end()) { 149 if (arc.ilabel != arc.olabel) { 153 if (arc.ilabel == 0 && arc.olabel == 0) { 157 if (arc.ilabel == 0) { 166 if (arc.ilabel < prev_arc.ilabel) { 190 ilabels->insert(arc.ilabel);
|
verify.h | 65 if (!allow_negative_labels && arc.ilabel < 0) { 69 } else if (isyms && isyms->Find(arc.ilabel) == "") { 70 LOG(ERROR) << "Verify: Fst input label ID " << arc.ilabel
|
arc-map.h | 145 if (final_arc.ilabel != 0 || final_arc.olabel != 0) { 156 if (final_arc.ilabel != 0 || final_arc.olabel != 0) { 174 if (final_arc.ilabel != 0 || final_arc.olabel != 0 || 176 fst->AddArc(s, A(final_arc.ilabel, final_arc.olabel, 251 if (final_arc.ilabel != 0 || final_arc.olabel != 0) { 260 if (final_arc.ilabel != 0 || final_arc.olabel != 0) { 276 if (final_arc.ilabel != 0 || final_arc.olabel != 0 || 278 ofst->AddArc(s, B(final_arc.ilabel, final_arc.olabel, 382 if (final_arc.ilabel != 0 || final_arc.olabel != 0) { 395 if (final_arc.ilabel == 0 && final_arc.olabel == 0 [all...] |
encode.h | 65 : ilabel(ilabel_), olabel(olabel_), weight(weight_) {} 67 : ilabel(tuple.ilabel), olabel(tuple.olabel), weight(tuple.weight) {} 69 Label ilabel; member in struct:fst::EncodeTable::Tuple 78 return (x->ilabel == y->ilabel && 98 size_t hash = x->ilabel; 132 const Tuple tuple(arc.ilabel, 147 const Tuple tuple(arc.ilabel, 211 SymbolTable *isymbols_; // Pre-encoded ilabel symbol tabl [all...] |
state-map.h | 497 if (x.ilabel < y.ilabel) return true; 498 if (x.ilabel > y.ilabel) return false; 509 return (x.ilabel == y.ilabel && 572 if (x.ilabel < y.ilabel) return true; 573 if (x.ilabel > y.ilabel) return false [all...] |
matcher.h | 164 swap(loop_.ilabel, loop_.olabel); 270 aiter_->Value().ilabel : aiter_->Value().olabel; 338 aiter_->Value().ilabel : aiter_->Value().olabel; 347 label = match_type_ == MATCH_INPUT ? aiter_->Value().ilabel : 363 aiter_->Value().ilabel : aiter_->Value().olabel; 479 if (rho_arc_.ilabel == rho_label_) 480 rho_arc_.ilabel = rho_match_; 484 rho_arc_.ilabel = rho_match_; 657 if (sigma_arc_.ilabel == sigma_label_) 658 sigma_arc_.ilabel = sigma_match_ [all...] |
symbol-table-ops.h | 46 typename Arc::Label sym = (input) ? aiter.Value().ilabel :
|
/external/openfst/src/test/ |
fst_test.h | 81 CHECK_EQ(arc.ilabel, na); 86 CHECK(matcher.Find(arc.ilabel)); 87 CHECK_EQ(matcher.Value().ilabel, arc.ilabel); 98 CHECK_EQ(matcher.Value().ilabel, kNoLabel); // implicit epsilon loop 138 arc.ilabel = 0; 141 CHECK_EQ(arc.ilabel, 0); 143 arc.ilabel = na; 307 // (1) ilabel = i
|
/external/openfst/src/include/fst/script/ |
compile-impl.h | 97 arc.ilabel = StrToILabel(col[2]); 98 arc.olabel = arc.ilabel; 104 arc.ilabel = StrToILabel(col[2]); 106 arc.olabel = arc.ilabel; 116 arc.ilabel = StrToILabel(col[2]); 180 return StrToId(s, isyms_, "arc ilabel", allow_negative_labels_); 203 const SymbolTable *isyms_; // ilabel symbol table
|
/external/srec/srec/crec/ |
astar.c | 86 root_arc.ilabel = root_arc.olabel = 0; 95 if (atoken->ilabel == word) 97 else if (atoken->ilabel == WORD_EPSILON_LABEL) 101 if (tmp->ilabel == word) 104 else if (atoken->ilabel < wmap->num_slots) 106 if (wordmap_whether_in_rule(wmap, word, atoken->ilabel)) 118 else if (tmp->first_next_arc == ARC_TOKEN_NULL && (tmp->ilabel == MAXwordID || tmp->ilabel == terminal_word)) 126 if (tmp->ilabel == MAXwordID && tmp->first_next_arc == ARC_TOKEN_NULL) 141 if (tmp->ilabel == WORD_EPSILON_LABEL && tmp->next_token_index == ARC_TOKEN_NULL [all...] |
/external/openfst/src/include/fst/extensions/pdt/ |
compose.h | 56 loop_.ilabel = kNoLabel; 59 loop_.ilabel = 0; 251 matcher_.Value().ilabel : matcher_.Value().olabel; 266 matcher_.Value().ilabel : matcher_.Value().olabel; 358 if (arc1->olabel == kNoLabel && arc2->ilabel) { // arc2 parentheses 360 arc1->ilabel = arc2->ilabel; 361 } else if (arc2->ilabel) { 362 arc2->olabel = arc1->ilabel; 364 return FilterParen(arc2->ilabel, f1, f2) [all...] |
/external/srec/srec/Semproc/src/ |
SemanticGraphImpl.c | 278 wordID ilabel = 0; local 429 ilabel = wordmap_find_index(ilabels, iword); 464 ilabel = MAXwordID; 478 atoken->ilabel = ilabel; 648 if (atoken->ilabel != WORD_EPSILON_LABEL) 659 if (atoken->ilabel != expected_ilabel) 670 if (atoken->ilabel != WORD_EPSILON_LABEL && 671 !(atoken->ilabel == MAXwordID && atoken->olabel == MAXwordID)) 732 if (atok->ilabel == i) break [all...] |
/external/srec/tools/grxmlcompile/ |
grxmlcompile.cpp | 367 if( arc.ilabel >= max_ilabels || 368 (float)arc.ilabel + ((float)max_ilabels)*arc.olabel > INT_MAX) { 372 arc.ilabel = arc.ilabel + max_ilabels * arc.olabel; 387 if( aiter.Value().ilabel > max_ilabel) 388 max_ilabel = aiter.Value().ilabel; 407 arc.olabel = arc.ilabel / max_ilabels; 408 arc.ilabel = arc.ilabel - arc.olabel*max_ilabels; 430 if(arc.ilabel == from_ilabel) [all...] |