mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-09 01:52:41 +00:00
Bug fix (#352)
This commit is contained in:
parent
32f05c00e3
commit
8e3c89076e
@ -177,8 +177,8 @@ def post_processing(
|
|||||||
) -> List[Tuple[List[str], List[str]]]:
|
) -> List[Tuple[List[str], List[str]]]:
|
||||||
new_results = []
|
new_results = []
|
||||||
for ref, hyp in results:
|
for ref, hyp in results:
|
||||||
new_ref = asr_text_post_processing(" ".join(ref))
|
new_ref = asr_text_post_processing(" ".join(ref)).split()
|
||||||
new_hyp = asr_text_post_processing(" ".join(hyp))
|
new_hyp = asr_text_post_processing(" ".join(hyp)).split()
|
||||||
new_results.append((new_ref, new_hyp))
|
new_results.append((new_ref, new_hyp))
|
||||||
return new_results
|
return new_results
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user