游雁
2024-01-09 d8b586e02cd14f7eed6b330bd4f110cb1e7f24ad
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