Searched refs:ilabel (Results 1 - 25 of 88) sorted by relevance

1234

/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Darc.h36 : 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...]
H A Darcsum.h31 if (x.ilabel < y.ilabel) return true;
32 if (x.ilabel > y.ilabel) return false;
46 return (x.ilabel == y.ilabel &&
H A Darcfilter.h37 return arc.ilabel == 0 && arc.olabel == 0;
H A Dequal.h72 if (arc1.ilabel != arc2.ilabel) {
76 << ", ilabel1 = " << arc1.ilabel
77 << ", ilabel2 = " << arc2.ilabel;
H A Dtest-properties.h138 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);
H A Dencode.h50 : 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...]
H A Dverify.h62 if (arc.ilabel < 0) {
66 } else if (isyms && isyms->Find(arc.ilabel) == "") {
67 LOG(ERROR) << "Verify: Fst input label ID " << arc.ilabel
H A Dmap.h108 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
[all...]
H A Dcompose.h435 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
[all...]
/external/openfst/src/include/fst/
H A Darc.h50 : ilabel(i), olabel(o), weight(w), nextstate(s) {}
60 Label ilabel; member in class:fst::ArcTpl
83 : ilabel(i), olabel(o), weight(w), nextstate(s) {}
96 Label ilabel; // Transition input label member in class:fst::StringArc
115 : ilabel(i), olabel(o), weight(w), nextstate(s) {}
118 : ilabel(arc.ilabel), olabel(arc.ilabel),
130 Label ilabel; // Transition input label member in struct:fst::GallicArc
146 : ilabel(
155 Label ilabel; // Transition input label member in struct:fst::ReverseArc
179 Label ilabel; // Transition input label member in struct:fst::LexicographicArc
203 Label ilabel; // Transition input label member in struct:fst::ProductArc
235 Label ilabel; // Transition input label member in struct:fst::PowerArc
267 Label ilabel; // Transition input label member in struct:fst::SparsePowerArc
298 Label ilabel; // Transition input label member in struct:fst::ExpectationArc
[all...]
H A Darcfilter.h44 return arc.ilabel == 0 && arc.olabel == 0;
54 return arc.ilabel == 0;
82 Label label = match_input_ ? arc.ilabel : arc.olabel;
H A Dequal.h75 if (arc1.ilabel != arc2.ilabel) {
79 << ", ilabel1 = " << arc1.ilabel
80 << ", ilabel2 = " << arc2.ilabel;
H A Dtest-properties.h140 if (ilabels && ilabels->find(arc.ilabel) != ilabels->end()) {
148 if (arc.ilabel != arc.olabel) {
152 if (arc.ilabel == 0 && arc.olabel == 0) {
156 if (arc.ilabel == 0) {
164 if (prev_arc.ilabel != kNoLabel && arc.ilabel < prev_arc.ilabel) {
186 ilabels->insert(arc.ilabel);
H A Dverify.h65 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
H A Darc-map.h145 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,
384 if (final_arc.ilabel != 0 || final_arc.olabel != 0) {
397 if (final_arc.ilabel
[all...]
H A Dencode.h65 : 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 symbo
[all...]
H A Dstate-map.h495 if (x.ilabel < y.ilabel) return true;
496 if (x.ilabel > y.ilabel) return false;
507 return (x.ilabel == y.ilabel &&
570 if (x.ilabel < y.ilabel) return true;
571 if (x.ilabel > y.ilabel) retur
[all...]
H A Dmatcher.h153 swap(loop_.ilabel, loop_.olabel);
228 aiter_->Value().ilabel : aiter_->Value().olabel;
296 aiter_->Value().ilabel : aiter_->Value().olabel;
305 label = match_type_ == MATCH_INPUT ? aiter_->Value().ilabel :
320 aiter_->Value().ilabel : aiter_->Value().olabel;
436 if (rho_arc_.ilabel == rho_label_)
437 rho_arc_.ilabel = rho_match_;
441 rho_arc_.ilabel = rho_match_;
608 if (sigma_arc_.ilabel == sigma_label_)
609 sigma_arc_.ilabel
[all...]
H A Dsymbol-table-ops.h46 typename Arc::Label sym = (input) ? aiter.Value().ilabel :
/external/openfst/src/test/
H A Dfst_test.h79 CHECK_EQ(arc.ilabel, na);
84 CHECK(matcher.Find(arc.ilabel));
85 CHECK_EQ(matcher.Value().ilabel, arc.ilabel);
96 CHECK_EQ(matcher.Value().ilabel, kNoLabel); // implicit epsilon loop
136 arc.ilabel = 0;
139 CHECK_EQ(arc.ilabel, 0);
141 arc.ilabel = na;
266 // (1) ilabel = i
/external/openfst/src/include/fst/script/
H A Dcompile-impl.h96 arc.ilabel = StrToILabel(col[2]);
97 arc.olabel = arc.ilabel;
103 arc.ilabel = StrToILabel(col[2]);
105 arc.olabel = arc.ilabel;
115 arc.ilabel = StrToILabel(col[2]);
179 return StrToId(s, isyms_, "arc ilabel", allow_negative_labels_);
202 const SymbolTable *isyms_; // ilabel symbol table
/external/srec/srec/crec/
H A Dastar.c86 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
[all...]
H A Dsrec_context.c66 #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) argument
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);
1053 atoken->ilabel
1145 char *ilabel, *olabel; local
2134 find_next_arc_with_ilabel(srec_context* fst, FSMnode* node, labelID ilabel, FSMarc** last) argument
2148 find_prev_arc_with_iolabels(srec_context* fst, FSMnode* node, labelID ilabel, labelID olabel, FSMarc** last) argument
[all...]
/external/srec/srec/Semproc/src/
H A DSemanticGraphImpl.c278 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
801 arc_tokens_find_ilabel(arc_token* base, arc_token* arc_token_list, wordID ilabel) argument
[all...]
/external/srec/tools/grxmlcompile/
H A Dgrxmlcompile.cpp367 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
[all...]

Completed in 693 milliseconds

1234