mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-18 21:44:18 +00:00
fixes
This commit is contained in:
parent
d8632c0425
commit
ea87b7dff9
@ -411,7 +411,7 @@ def main():
|
|||||||
|
|
||||||
s = "\n"
|
s = "\n"
|
||||||
for filename, hyp in zip(params.sound_files, hyps):
|
for filename, hyp in zip(params.sound_files, hyps):
|
||||||
words = " ".join(hyp)
|
words = "".join(hyp)
|
||||||
words = words.replace("▁", " ").strip()
|
words = words.replace("▁", " ").strip()
|
||||||
s += f"{filename}:\n{words}\n\n"
|
s += f"{filename}:\n{words}\n\n"
|
||||||
logging.info(s)
|
logging.info(s)
|
||||||
|
@ -430,7 +430,7 @@ def main():
|
|||||||
|
|
||||||
s = "\n"
|
s = "\n"
|
||||||
for filename, hyp in zip(params.sound_files, hyps):
|
for filename, hyp in zip(params.sound_files, hyps):
|
||||||
words = " ".join(hyp)
|
words = "".join(hyp)
|
||||||
words = words.replace("▁", " ").strip()
|
words = words.replace("▁", " ").strip()
|
||||||
s += f"{filename}:\n{words}\n\n"
|
s += f"{filename}:\n{words}\n\n"
|
||||||
logging.info(s)
|
logging.info(s)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user