Commit d72ba579 authored by Daniel Povey's avatar Daniel Povey

Some minor cosmetic changes

parent 1165edbd
// bin/compile-train-graphs-fsts.cc
// Copyright 2009-2012 Microsoft Corporation
// 2012-2013 Johns Hopkins University (Author: Daniel Povey)
// 2012-2015 Johns Hopkins University (Author: Daniel Povey)
// See ../../COPYING for clarification regarding multiple authors
//
......@@ -81,13 +81,7 @@ int main(int argc, char *argv[]) {
ReadKaldiObject(tree_rxfilename, &ctx_dep);
TransitionModel trans_model;
{
bool binary;
Input ki(model_rxfilename, &binary);
trans_model.Read(ki.Stream(), binary);
// AmDiagGmm am_gmm;
// am_gmm.Read(ki.Stream(), binary);
}
ReadKaldiObject(model_rxfilename, &trans_model);f
// need VectorFst because we will change it by adding subseq symbol.
// ownership will be taken by gc.
......
// bin/compile-train-graphs.cc
// Copyright 2009-2012 Microsoft Corporation
// 2012-2013 Johns Hopkins University (Author: Daniel Povey)
// 2012-2015 Johns Hopkins University (Author: Daniel Povey)
// See ../../COPYING for clarification regarding multiple authors
//
......@@ -73,13 +73,7 @@ int main(int argc, char *argv[]) {
ReadKaldiObject(tree_rxfilename, &ctx_dep);
TransitionModel trans_model;
{
bool binary;
Input ki(model_rxfilename, &binary);
trans_model.Read(ki.Stream(), binary);
// AmDiagGmm am_gmm;
// am_gmm.Read(ki.Stream(), binary);
}
ReadKaldiObject(model_rxfilename, &trans_model);f
// need VectorFst because we will change it by adding subseq symbol.
VectorFst<StdArc> *lex_fst = fst::ReadFstKaldi(lex_rxfilename);
......
......@@ -50,7 +50,8 @@ int main(int argc, char *argv[]) {
ParseOptions po(usage);
bool replace_words = true;
po.Register("replace-words", &replace_words,
"If true, replace words with phones; otherwise replace transition-ids with phones.");
"If true, replace words with phones; otherwise replace "
"transition-ids with phones.");
po.Read(argc, argv);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment