Home | History | Annotate | Download | only in fst

Lines Matching full:decode

45 enum EncodeType { ENCODE = 1, DECODE = 2 };
158 // Given an encode arc Label decode back to input/output labels and costs
159 const Tuple* Decode(Label key) const {
161 LOG(ERROR) << "EncodeTable::Decode: unknown decode key: " << key;
287 // A mapper to encode/decode weighted transducers. Encoding of an
297 // EncodeTable is generated the same table may by used to decode the machine
300 // Encode -> Determinize -> Decode
303 // decode, even though the encoding is not complete.
323 // Copy constructor but setting the type, typically to DECODE
433 } else { // type_ == DECODE
448 const typename EncodeTable<A>::Tuple* tuple = table_->Decode(arc.ilabel);
450 FSTERROR() << "EncodeMapper: decode failed";
473 void Decode(MutableFst<A>* fst, const EncodeMapper<A>& mapper) {
474 ArcMap(fst, EncodeMapper<A>(mapper, DECODE));
535 EncodeMapper<A>(encoder, DECODE),