HomeSort by relevance Sort by last modified time
    Searched refs:ilabel (Results 1 - 25 of 96) sorted by null

1 2 3 4

  /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 136 if (ilabels && ilabels->find(arc.ilabel) != ilabels->end()) {
144 if (arc.ilabel != arc.olabel) {
148 if (arc.ilabel == 0 && arc.olabel == 0) {
152 if (arc.ilabel == 0) {
160 if (prev_arc.ilabel != kNoLabel && arc.ilabel < prev_arc.ilabel) {
182 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;
110 const Tuple tuple(arc.ilabel,
135 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
  /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...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/pgen2/
parse.py 116 ilabel = self.classify(type, value, context)
125 if ilabel == i:
145 if ilabel in itsfirst:
167 ilabel = self.grammar.keywords.get(value)
168 if ilabel is not None:
169 return ilabel
170 ilabel = self.grammar.tokens.get(type)
171 if ilabel is None:
173 return ilabel
pgen.py 56 ilabel = self.make_label(c, label)
57 ##assert ilabel not in first # XXX failed on <> ... !=
58 first[ilabel] = 1
63 ilabel = len(c.labels)
72 c.symbol2label[label] = ilabel
73 return ilabel
83 c.tokens[itoken] = ilabel
84 return ilabel
95 c.keywords[value] = ilabel
96 return ilabel
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/pgen2/
parse.py 116 ilabel = self.classify(type, value, context)
125 if ilabel == i:
145 if ilabel in itsfirst:
167 ilabel = self.grammar.keywords.get(value)
168 if ilabel is not None:
169 return ilabel
170 ilabel = self.grammar.tokens.get(type)
171 if ilabel is None:
173 return ilabel
pgen.py 56 ilabel = self.make_label(c, label)
57 ##assert ilabel not in first # XXX failed on <> ... !=
58 first[ilabel] = 1
63 ilabel = len(c.labels)
72 c.symbol2label[label] = ilabel
73 return ilabel
83 c.tokens[itoken] = ilabel
84 return ilabel
95 c.keywords[value] = ilabel
96 return ilabel
    [all...]
  /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...]

Completed in 617 milliseconds

1 2 3 4