SenseVoice icon indicating copy to clipboard operation
SenseVoice copied to clipboard

Is there a way to return the word timestamp of a sentence?

Open CuiRobert opened this issue 1 year ago • 3 comments

Is there a way to return the word timestamp of a sentence?

example: input sentence: "Hello readers,welcome!" output: [{ "word": "Hello", "start_time": 0.02, "end_time": 0.36, }, { "word": "readers", "start_time": 0.36, "end_time": 0.855, }, { "word": ",", "start_time": 0.855, "end_time": 1.155, "type": "mark" }, { "word": "welcome", "start_time": 1.155, "end_time": 1.665, }, { "word": "!", "start_time": 1.665, "end_time": 1.955, } ]

CuiRobert avatar Aug 08 '24 12:08 CuiRobert