Commit 2aa632b1 authored by Dan Povey's avatar Dan Povey
Browse files

Fix bug in, RE partial-words.

git-svn-id: 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent 337c616f
......@@ -280,8 +280,10 @@ class LatticeWordAligner {
if (info_in_.silence_label == 0)
if (!syms_to_remove.empty())
RemoveSomeInputSymbols(syms_to_remove, lat_out_);
if (!syms_to_remove.empty()) {
RemoveSomeInputSymbols(syms_to_remove, lat_out_);
Project(lat_out_, fst::PROJECT_INPUT);
bool AlignLattice() {
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