funasr/models/monotonic_aligner/model.py
@@ -189,8 +189,11 @@ result_i = {"key": key[i], "text": text_postprocessed, "timestamp": time_stamp_postprocessed, } results.append(result_i) if ibest_writer: # ibest_writer["token"][key[i]] = " ".join(token) ibest_writer["timestamp_list"][key[i]] = time_stamp_postprocessed ibest_writer["timestamp_str"][key[i]] = timestamp_str results.append(result_i) return results, meta_data