/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
arc.h | 36 : ilabel(i), olabel(o), weight(w), nextstate(s) {} 46 Label olabel; // Transition output label member in struct:fst::StdArc 60 : ilabel(i), olabel(o), weight(w), nextstate(s) {} 70 Label olabel; // Transition output label member in struct:fst::LogArc 85 : ilabel(i), olabel(o), weight(w), nextstate(s) {} 99 Label olabel; // Transition output label member in class:fst::StringArc 117 : ilabel(i), olabel(o), weight(w), nextstate(s) {} 120 : ilabel(arc.ilabel), olabel(arc.ilabel), 121 weight(arc.olabel, arc.weight), nextstate(arc.nextstate) {} 133 Label olabel; // Transition output labe member in struct:fst::GallicArc 158 Label olabel; \/\/ Transition output label member in struct:fst::ReverseArc [all...] |
arcsum.h | 33 if (x.olabel < y.olabel) return true; 34 if (x.olabel < y.olabel) return false; 47 x.olabel == y.olabel &&
|
equal.h | 79 } else if (arc1.olabel != arc2.olabel) { 83 << ", olabel1 = " << arc1.olabel 84 << ", olabel2 = " << arc2.olabel;
|
test-properties.h | 142 if (olabels && olabels->find(arc.olabel) != olabels->end()) { 146 if (arc.ilabel != arc.olabel) { 150 if (arc.ilabel == 0 && arc.olabel == 0) { 158 if (arc.olabel == 0) { 166 if (prev_arc.olabel != kNoLabel && arc.olabel < prev_arc.olabel) { 186 olabels->insert(arc.olabel);
|
encode.h | 50 : ilabel(ilabel_), olabel(olabel_), weight(weight_) {} 52 : ilabel(tuple.ilabel), olabel(tuple.olabel), weight(tuple.weight) {} 55 Label olabel; member in struct:fst::EncodeTable::Tuple 64 x->olabel == y->olabel && 87 if (encode_flags_ & kEncodeLabels) hash ^= x->olabel >> rshift; 114 flags_ & kEncodeLabels ? arc.olabel : 0, 139 WriteType(strm, tuple->olabel); 167 ReadType(strm, &tuple->olabel); [all...] |
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...] |
verify.h | 72 } else if (arc.olabel < 0) { 76 } else if (osyms && osyms->Find(arc.olabel) == "") { 77 LOG(ERROR) << "Verify: Fst output label ID " << arc.olabel
|
vector-fst.h | 104 if (arcs[i].olabel == 0) 234 if (arc.ilabel != arc.olabel) { 242 if (arc.olabel == 0) { 247 if (arc.olabel == 0) { 258 if (parc.olabel > arc.olabel) { 296 if (arcs[j].olabel == 0) 343 if (arc.olabel == 0) 373 ReadType(strm, &arc.olabel); 383 if (arc.olabel == 0 [all...] |
arcfilter.h | 37 return arc.ilabel == 0 && arc.olabel == 0;
|
compose.h | 436 arc.olabel = arca.olabel; 442 arc.olabel = arcb.olabel; 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...] |
rmepsilon.h | 80 Label olabel; member in struct:fst::RmEpsilonState::Element 86 : ilabel(i), olabel(o), nextstate(s) {} 95 e.olabel * kPrime1); 106 return (e1.ilabel == e2.ilabel) && (e1.olabel == e2.olabel) 163 Element element(arc.ilabel, arc.olabel, arc.nextstate);
|
invert.h | 32 return A(arc.olabel, arc.ilabel, arc.weight, arc.nextstate);
|
relabel.h | 76 it = output_map.find(arc.olabel); 77 if (it != output_map.end()) { arc.olabel = it->second; } 288 output_map_.find(arc.olabel); 289 if (it != output_map_.end()) { arc.olabel = it->second; }
|
reverse.h | 68 RevArc oarc(iarc.ilabel, iarc.olabel, iarc.weight.Reverse(), os);
|
replace.h | 190 nonterminal_hash_.find(arc.olabel); 193 depfst.AddArc(i - 1, A(arc.olabel, arc.olabel, Weight::One(), j)); 320 if (arc.olabel == 0) { // expand local fst 323 AddArc(s, A(arc.ilabel, arc.olabel, arc.weight, nextstate)); 327 nonterminal_hash_.find(arc.olabel); 347 AddArc(s, A(arc.ilabel, arc.olabel, arc.weight, nextstate));
|
project.h | 39 ? arc.ilabel : arc.olabel;
|
rmfinalepsilon.h | 75 if (arc.ilabel == 0 && arc.olabel == 0) {
|
synchronize.h | 216 if (!Empty(e.istring, arc.ilabel) && !Empty(e.ostring, arc.olabel)) { 218 const String *ostring = Cdr(e.ostring, arc.olabel); 221 Car(e.ostring, arc.olabel), arc.weight, d)); 224 const String *ostring = Concat(e.ostring, arc.olabel);
|
arcsort.h | 295 return arc1.olabel < arc2.olabel;
|
/external/srec/tools/grxmlcompile/ |
fst-io.h | 120 PrintOLabel(arc.olabel); 139 const SymbolTable *osyms_; // olabel symbol table 251 arc.olabel = arc.ilabel; 259 arc.olabel = arc.ilabel; 262 arc.olabel = StrToOLabel(col[3]); 270 arc.olabel = StrToOLabel(col[3]); 335 return StrToId(s, osyms_, "arc olabel"); 354 const SymbolTable *osyms_; // olabel symbol table
|
grxmlcompile.cpp | 368 (float)arc.ilabel + ((float)max_ilabels)*arc.olabel > INT_MAX) { 372 arc.ilabel = arc.ilabel + max_ilabels * arc.olabel; 373 arc.olabel = 0; 407 arc.olabel = arc.ilabel / max_ilabels; 408 arc.ilabel = arc.ilabel - arc.olabel*max_ilabels; 462 if(arc.olabel >= myMin && arc.olabel < myMax) { 464 int slotId = arc.olabel; 467 std::cout << "info: FstPushSlotLikeOLabels() at state " << s << " arc ilabel " << arc.ilabel << " olabel " << arc.olabel << std::endl 717 int olabel = wordId; local [all...] |
netw_arc.h | 37 NUANArc (int iLabel, int oLabel) 40 outputLabel= oLabel; 49 NUANArc (int iLabel, int oLabel, int from, int to) 52 outputLabel= oLabel;
|
/external/srec/srec/Semproc/src/ |
SemanticProcessorImpl.c | 267 printf("%strying arc %d %p ilabel%d(%s) olabel %d\n", spaces(debug_depth), atok-debug_base_arc_token, atok, 268 atok->ilabel, atok->ilabel!=MAXwordID?semgraph->ilabels->words[atok->ilabel]:"max", atok->olabel); 284 PLogError(L("a %x ilabel %d olabel %d"), a, a->ilabel, a->olabel); 306 printf("%smatched arc %d %p ilabel%d(%s) olabel %d\n", spaces(debug_depth), atok-debug_base_arc_token, atok, 307 atok->ilabel, semgraph->ilabels->words[atok->ilabel], atok->olabel); 317 else if (atokfna && atokfna->ilabel==MAXwordID && atokfna->olabel==MAXwordID && *currentWord==MAXwordID) 348 printf("%sdone trying arc %d %p ilabel%d(%s) olabel %d\n", spaces(debug_depth), atok-debug_base_arc_token, atok, 349 atok->ilabel, semgraph->ilabels->words[atok->ilabel], atok->olabel); 374 printf("%strying arc %d %p ilabel%d(%s) olabel %d\n", spaces(debug_depth), atok-debug_base_arc_token, atok [all...] |
SemanticGraphImpl.c | 279 labelID olabel = 0; local 435 if (IS_SCRIPT_MARKER(oword)) /* olabel type: script */ 437 olabel = (labelID) atoi(&oword[1]); 438 olabel = (wordID)(olabel + semgraph->script_olabel_offset); /* the offset */ 440 else if (IS_SCOPE_MARKER(oword)) /* olabel type: scope marker */ 443 olabel = wordmap_find_index(semgraph->scopes_olabels, oword); 445 if (olabel == MAXwordID) /* not found so add to wordmap and get new index */ 446 olabel = wordmap_add_word(semgraph->scopes_olabels, oword); 447 olabel = (wordID)(olabel + semgraph->scopes_olabel_offset); /* the offset * [all...] |
/external/srec/srec/crec/ |
srec_context.c | 110 wordID olabel, costdata cost, 1145 char *ilabel, *olabel; local 1195 wordID olabel = MAXwordID; local 3760 wordID olabel; local [all...] |