Prevent clumping of sentences in a segment. #90
-
Hello, My current implementation sometimes will clump fast questions and answers in a single segment.
There are two different speakers but there is a short timeframe where one answers. I tried setting logprob_threshold=-1.5 and no_speech_threshold=0.05 but that still returns multiple sentences in a single segment. What is the best way to ensure each segment is only a sentence? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I managed to create something that works good, but not 100% accurate :
|
Beta Was this translation helpful? Give feedback.
-
The latest whisper version introduced reliable word-level timestamps (but stable-ts has not been updated to support the new version). With the reliable word-level timestamps, it should be as straightforward as splitting the segments (i.e. by period and question marks). |
Beta Was this translation helpful? Give feedback.
I managed to create something that works good, but not 100% accurate :