WhisperLive icon indicating copy to clipboard operation
WhisperLive copied to clipboard

How to get valid segement

Open Momaiz opened this issue 11 months ago • 1 comments

Hello , how can we get valid segements the segments are returned on example

[{
  "start" : "01:03:02" ,
  "end" : "01:03:25" ,
  "word" : "Hell" 
},
{
  "start" : "01:03:02" ,
  "end" : "01:03:35" ,
  "word" : "Hello" 
},
{
  "start" : "01:03:02" ,
  "end" : "01:03:35" ,
  "word" : "Hello word" 
},
{
  "start" : "01:03:02" ,
  "end" : "01:03:35" ,
  "word" : "Hello world" 
},
......
{
  "start" : "01:03:02" ,
  "end" : "01:04:48" ,
  "word" : "Hello world this is test" 
},
{
  "start" : "01:04:28" ,
  "end" : "01:04:37" ,
  "word" : "test " 
},
{
  "start" : "01:04:28" ,
  "end" : "01:04:58" ,
  "word" : "test for whisper" 
}
]

how to change to get only the segemtns as

[
{
  "start" : "01:03:02" ,
  "end" : "01:04:48" ,
  "word" : "Hello world this is test" 
},
{
  "start" : "01:04:28" ,
  "end" : "01:04:58" ,
  "word" : "test for whisper" 
}
]

Momaiz avatar Nov 06 '24 12:11 Momaiz