Home | History | Annotate | Download | only in lib

Lines Matching refs:Final

28 // This determines how final weights are mapped.
31 // A final weight is mapped into a final weight. An error
35 // A final weight is mapped to an arc to the superfinal state
36 // when the result cannot be represented as a final weight.
40 // A final weight is mapped to an arc to the superfinal state
41 // unless the result can be represented as a final weight of weight
47 // Mapper Interface - class determinies how arcs and final weights
54 // // Specifies final action the mapper requires (see above).
55 // // The mapper will be passed final weights as arcs of the
64 // method of the mapper to determine how to treat final weights,
107 A final_arc = (*mapper)(A(0, 0, fst->Final(s), kNoStateId));
114 A final_arc = (*mapper)(A(0, 0, fst->Final(s), kNoStateId));
132 A final_arc = (*mapper)(A(0, 0, fst->Final(s), kNoStateId));
190 B final_arc = (*mapper)(A(0, 0, ifst.Final(s), kNoStateId));
196 B final_arc = (*mapper)(A(0, 0, ifst.Final(s), kNoStateId));
212 B final_arc = (*mapper)(A(0, 0, ifst.Final(s), kNoStateId));
301 Weight Final(StateId s) {
306 B final_arc = (*mapper_)(A(0, 0, fst_->Final(FindIState(s)),
316 B final_arc = (*mapper_)(A(0, 0, fst_->Final(FindIState(s)),
331 return CacheImpl<B>::Final(s);
371 if (!HasFinal(s) || Final(s) == Weight::Zero())
377 B final_arc = (*mapper_)(A(0, 0, fst_->Final(FindIState(s)),
388 B final_arc = (*mapper_)(A(0, 0, fst_->Final(FindIState(s)),
488 virtual Weight Final(StateId s) const { return impl_->Final(s); }
576 B final_arc = (*impl_->mapper_)(A(0, 0, impl_->fst_->Final(s_),
633 // Mapper that returns its input with final states redirected to
634 // a single super-final state.
691 // 'Super-final' arc.
694 // 'Super-non-final' arc.
727 // 'Super-non-final' arc.
781 // 'Super-non-final' arc.