We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c101557 commit f93c192Copy full SHA for f93c192
egs/wsj/s5/utils/lang/make_lexicon_fst.py
@@ -92,7 +92,7 @@ def read_lexiconp(filename):
92
sys.exit(1)
93
prons = a[2:]
94
if pron_prob <= 0.0:
95
- print("{0}: error: invalid pron-prob in line '{1}' of lexicon file {1} ".format(
+ print("{0}: error: invalid pron-prob in line '{1}' of lexicon file {2} ".format(
96
sys.argv[0], line.strip(" \t\r\n"), filename), file=sys.stderr)
97
98
if len(prons) == 0:
0 commit comments