Skip to content

Commit

Permalink
FST reader update to support new Kaldi versions
Browse files Browse the repository at this point in the history
https://groups.google.com/d/msg/kaldi-help/0SuCkeHyUmU/SogcAuWbBQAJ
New Kaldi versions have an updated FST reader
  • Loading branch information
mdoulaty committed Jul 22, 2018
1 parent b23f779 commit 609db22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Nnet3LatgenFasterDecoder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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_ != "")
Expand Down

0 comments on commit 609db22

Please sign in to comment.