Skip to content

Commit c101557

Browse files
taomanwaidanpovey
authored andcommitted
[src] fix fstmakecontextfst duplicated disambig symbols (#3811)
1 parent 1f357ce commit c101557

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/fstbin/fstmakecontextfst.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,6 @@ int main(int argc, char *argv[]) {
114114
int32 sym = phone_syms[i];
115115
loop_fst.AddArc(0, StdArc(sym, sym, TropicalWeight::One(), 0));
116116
}
117-
for (size_t i = 0; i < disambig_in.size(); i++) {
118-
int32 sym = disambig_in[i];
119-
loop_fst.AddArc(0, StdArc(sym, sym, TropicalWeight::One(), 0));
120-
}
121117

122118
std::vector<std::vector<int32> > ilabels;
123119
VectorFst<StdArc> context_fst;

0 commit comments

Comments
 (0)