mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
fixbug
This commit is contained in:
parent
93f9a424f2
commit
6afd105e75
@ -33,8 +33,8 @@ def compute_wer(
|
||||
if cn_postprocess:
|
||||
value = " ".join(value)
|
||||
value = value.replace(" ", "")
|
||||
if value[0] == "请":
|
||||
value = value[1:]
|
||||
# if value[0] == "请":
|
||||
# value = value[1:]
|
||||
value = [x for x in value]
|
||||
hyp_dict[key] = value
|
||||
with open(ref_file, "r") as ref_reader:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user