Skip to content
Snippets Groups Projects
Commit d91cb2b5 authored by Vassil Panayotov's avatar Vassil Panayotov
Browse files

Several more trivial "HMM" -> "pdf-class" changes in "draw-tree", missed in

the previous commit. 


git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@814 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent 4898ae1e
No related branches found
No related tags found
No related merge requests found
......@@ -30,8 +30,8 @@ void MakeEvent(std::string &qry, fst::SymbolTable *phone_syms,
EventValueType value;
if (key == kPdfClass) {
value = static_cast<EventValueType>(atoi(valstr.c_str()));
if (value < 0) { // not valid HMM class
KALDI_ERR << "Bad query: invalid HMM index ("
if (value < 0) { // not valid pdf-class
KALDI_ERR << "Bad query: invalid pdf-class ("
<< valstr << ')' << std::endl << std::endl;
}
}
......@@ -71,7 +71,7 @@ int main(int argc, char **argv) {
ParseOptions po(usage);
po.Register("query", &qry,
"a query to trace through the tree"
"(format: hmm-class/ctx-phone1/.../ctx-phoneN)");
"(format: pdf-class/ctx-phone1/.../ctx-phoneN)");
po.Register("use-tooltips", &use_tooltips, "use tooltips instead of labels");
po.Register("gen-html", &gen_html, "generates HTML boilerplate(useful with SVG)");
po.Read(argc, argv);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment