hnluo
2023-03-27 85e8e0ed0dc9ff0e1d10cbef47b2ee849880d17e
Update postprocess_utils.py
1个文件已修改
2 ■■■ 已修改文件
funasr/utils/postprocess_utils.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
funasr/utils/postprocess_utils.py
@@ -225,7 +225,7 @@
                    ts_lists.append([begin, end])
                    begin = end
            else:
                raise ValueError('invalid character: {}'.format(ch))
                word_lists.append(ch)
    if time_stamp is not None: 
        word_lists, ts_lists = abbr_dispose(word_lists, ts_lists)