Navigation Menu

Skip to content

Commit

Permalink
[src] fix fstmakecontextfst duplicated disambig symbols (#3811)
Browse files Browse the repository at this point in the history
  • Loading branch information
taomanwai authored and danpovey committed Jan 5, 2020
1 parent 1f357ce commit c101557
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/fstbin/fstmakecontextfst.cc
Expand Up @@ -114,10 +114,6 @@ int main(int argc, char *argv[]) {
int32 sym = phone_syms[i];
loop_fst.AddArc(0, StdArc(sym, sym, TropicalWeight::One(), 0));
}
for (size_t i = 0; i < disambig_in.size(); i++) {
int32 sym = disambig_in[i];
loop_fst.AddArc(0, StdArc(sym, sym, TropicalWeight::One(), 0));
}

std::vector<std::vector<int32> > ilabels;
VectorFst<StdArc> context_fst;
Expand Down

0 comments on commit c101557

Please sign in to comment.