mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-18 21:44:18 +00:00
fixed an issue related to certain decoding patterns
This commit is contained in:
parent
40737f760b
commit
d0d71ca515
@ -421,10 +421,9 @@ def main():
|
||||
"whole-lattice-rescoring",
|
||||
]:
|
||||
for filename, hyp in zip(params.sound_files, hyps):
|
||||
for words in hyp:
|
||||
words = " ".join(hyp)
|
||||
words = words.replace("▁", " ").strip()
|
||||
s += f"{filename}:\n{words}\n\n"
|
||||
words = " ".join(hyp)
|
||||
words = words.replace("▁", " ").strip()
|
||||
s += f"{filename}:\n{words}\n\n"
|
||||
logging.info(s)
|
||||
|
||||
logging.info("Decoding Done")
|
||||
|
@ -440,10 +440,9 @@ def main():
|
||||
"whole-lattice-rescoring",
|
||||
]:
|
||||
for filename, hyp in zip(params.sound_files, hyps):
|
||||
for words in hyp:
|
||||
words = " ".join(hyp)
|
||||
words = words.replace("▁", " ").strip()
|
||||
s += f"{filename}:\n{words}\n\n"
|
||||
words = " ".join(hyp)
|
||||
words = words.replace("▁", " ").strip()
|
||||
s += f"{filename}:\n{words}\n\n"
|
||||
logging.info(s)
|
||||
|
||||
logging.info("Decoding Done")
|
||||
|
Loading…
x
Reference in New Issue
Block a user