Han Zhang
2025-03-18 3c349ac0531b07239f37b81254f8568ab80e3f6a
funasr/metrics/wer.py
@@ -33,8 +33,8 @@
            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: