Skip to content

Commit

Permalink
[src] Update gmm-decode-simple to accept ConstFst (#2787)
Browse files Browse the repository at this point in the history
  • Loading branch information
desh2608 authored and danpovey committed Oct 12, 2018
1 parent 535bb2c commit 8d1eb93
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/gmmbin/gmm-decode-simple.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ int main(int argc, char *argv[]) {
typedef kaldi::int32 int32;
using fst::SymbolTable;
using fst::VectorFst;
using fst::Fst;
using fst::StdArc;
using fst::ReadFstKaldi;
using fst::ReadFstKaldiGeneric;

const char *usage =
"Decode features using GMM-based model.\n"
Expand Down Expand Up @@ -86,7 +87,7 @@ int main(int argc, char *argv[]) {
am_gmm.Read(ki.Stream(), binary);
}

VectorFst<StdArc> *decode_fst = ReadFstKaldi(fst_in_filename);
Fst<StdArc> *decode_fst = ReadFstKaldiGeneric(fst_in_filename);

Int32VectorWriter words_writer(words_wspecifier);

Expand Down

0 comments on commit 8d1eb93

Please sign in to comment.