From 609db228d245af88a22a13d5aa6e786e6cb34a3f Mon Sep 17 00:00:00 2001 From: "Mortaza (Morrie) Doulaty" Date: Sun, 22 Jul 2018 15:21:27 +0200 Subject: [PATCH] FST reader update to support new Kaldi versions https://groups.google.com/d/msg/kaldi-help/0SuCkeHyUmU/SogcAuWbBQAJ New Kaldi versions have an updated FST reader --- src/Nnet3LatgenFasterDecoder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Nnet3LatgenFasterDecoder.cc b/src/Nnet3LatgenFasterDecoder.cc index f8120f3..395b9a4 100644 --- a/src/Nnet3LatgenFasterDecoder.cc +++ b/src/Nnet3LatgenFasterDecoder.cc @@ -96,7 +96,7 @@ bool Nnet3LatgenFasterDecoder::Initialize(kaldi::OptionsItf &po) { decodable_info_ = new kaldi::nnet3::DecodableNnetSimpleLoopedInfo( decodable_opts_, nnet_); - decode_fst_ = fst::ReadFstKaldi(fst_rxfilename_); + decode_fst_ = fst::ReadFstKaldiGeneric(fst_rxfilename_); fst::SymbolTable *word_syms = NULL; if (word_syms_rxfilename_ != "")