Skip to content
Snippets Groups Projects
Commit c6f8310d authored by Jan Trmal's avatar Jan Trmal
Browse files

(trunk) Fixing an error in the detailed information code: wrong token was produced for deletion.

git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@3441 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent 6f4a5e83
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ void PrintAlignmentStats(const std::vector<T> &ref,
if (it->first == eps) {
os << "insertion " << it->second << std::endl;
} else if (it->second == eps) {
os << "deletion " << it->second << std::endl;
os << "deletion " << it->first << std::endl;
} else if (it->first != it->second) {
os << "substitution " << it->first << ' ' << it->second << std::endl;
} else {
......
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