Skip to content

Commit

Permalink
[src] Fix to "Fixes to grammar-fst & LM-disambig symbols" (#3000) (#3143
Browse files Browse the repository at this point in the history
)
  • Loading branch information
daanzu authored and danpovey committed Mar 19, 2019
1 parent 80c1437 commit 0d6ead5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/decoder/grammar-fst.cc
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ bool GrammarFstPreparer::IsEntryState(StateId s) const {
// we check that at least one has label with nonterminal equal to #nonterm_begin...
// in fact they will all have this value if at least one does, and this was checked
// in NeedEpsilons().
if (nonterminal == kNontermBegin)
if (nonterminal == GetPhoneSymbolFor(kNontermBegin))
return true;
}
return false;
Expand Down

0 comments on commit 0d6ead5

Please sign in to comment.