/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);
|
compose.h | 435 arc.ilabel = arcb.ilabel; 441 arc.ilabel = arca.ilabel; 486 Label match_labela = find_input ? arca.ilabel : arca.olabel; 497 Label labelb = find_input ? arcb.olabel : arcb.ilabel; 511 Label match_labelb = find_input ? arcb.olabel : arcb.ilabel; 516 Label match_labela = find_input ? arca.ilabel : arca.olabel; 527 Label labela = find_input ? arca.ilabel : arca.olabel; 552 labela = find_input ? arca.ilabel : arca.olabel [all...] |
vector-fst.h | 102 if (arcs[i].ilabel == 0) 234 if (arc.ilabel != arc.olabel) { 238 if (arc.ilabel == 0) { 254 if (parc.ilabel > arc.ilabel) { 294 if (arcs[j].ilabel == 0) 341 if (arc.ilabel == 0) 372 ReadType(strm, &arc.ilabel); 381 if (arc.ilabel == 0) 436 WriteType(strm, arc.ilabel); [all...] |
project.h | 39 ? arc.ilabel : arc.olabel;
|
reverse.h | 68 RevArc oarc(iarc.ilabel, iarc.olabel, iarc.weight.Reverse(), os);
|
rmfinalepsilon.h | 75 if (arc.ilabel == 0 && arc.olabel == 0) {
|
minimize.h | 84 if (arc1.ilabel < arc2.ilabel) return true; 85 if (arc1.ilabel > arc2.ilabel) return false; 153 return (xarc.ilabel > yarc.ilabel); 242 Label from_label = arc.ilabel;
|
rmepsilon.h | 79 Label ilabel; member in struct:fst::RmEpsilonState::Element 86 : ilabel(i), olabel(o), nextstate(s) {} 94 e.ilabel * kPrime0 + 106 return (e1.ilabel == e2.ilabel) && (e1.olabel == e2.olabel) 163 Element element(arc.ilabel, arc.olabel, arc.nextstate);
|
relabel.h | 72 input_map.find(arc.ilabel); 73 if (it != input_map.end()) {arc.ilabel = it->second; } 281 input_map_.find(arc.ilabel); 282 if (it != input_map_.end()) { arc.ilabel = it->second; }
|
/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...] |
srec_context.c | 66 #define IS_SILENCE_ILABEL(ilabel,context) (ilabel >= context->hmm_ilabel_offset+EPSILON_OFFSET && ilabel<context->hmm_ilabel_offset+EPSILON_OFFSET+NUM_SILENCE_HMMS) 243 if(context->FSMarc_list[i].ilabel == WORD_BOUNDARY) 299 char* hmm_name(modelID ilabel, modelID hmm_ilabel_offset, char* buf) 301 if (ilabel == EPSILON_LABEL) 303 else if (ilabel == WORD_BOUNDARY) 305 else if (ilabel == PHONE_BOUNDARY) 308 sprintf(buf, "hmm%03d", ilabel - hmm_ilabel_offset); 1145 char *ilabel, *olabel; local [all...] |
srec.c | 386 hmm_info = &rec->context->hmm_info_for_ilabel[fsm_arc->ilabel]; 414 if (fsm_arc->ilabel != MAXlabelID) 416 hmm_info = &rec->context->hmm_info_for_ilabel[fsm_arc->ilabel]; 894 if (fsm_arc->ilabel >= EPSILON_OFFSET) 912 if (fsm_arc->ilabel == WORD_BOUNDARY && cost_with_wtw >= current_word_threshold) { 930 if (fsm_arc->ilabel == WORD_BOUNDARY) { 1268 labelID ilabel; local 1569 labelID ilabel; local [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...] |
fst-io.h | 117 PrintILabel(arc.ilabel); 138 const SymbolTable *isyms_; // ilabel symbol table 250 arc.ilabel = StrToILabel(col[2]); 251 arc.olabel = arc.ilabel; 257 arc.ilabel = StrToILabel(col[2]); 259 arc.olabel = arc.ilabel; 269 arc.ilabel = StrToILabel(col[2]); 331 return StrToId(s, isyms_, "arc ilabel"); 353 const SymbolTable *isyms_; // ilabel symbol table
|
/external/srec/srec/include/ |
astar.h | 62 wordID ilabel; /* input label */ member in struct:arc_token_t
|
search_network.h | 131 labelID ilabel; /* input label */ member in struct:FSMarc_t
|