haoneng.lhn
2023-03-29 10cb6d70a554e3cd5c96c75be86dff45f48a63d8
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)