Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get valid segement #293

Open
Momaiz opened this issue Nov 6, 2024 · 0 comments
Open

How to get valid segement #293

Momaiz opened this issue Nov 6, 2024 · 0 comments

Comments

@Momaiz
Copy link

Momaiz commented Nov 6, 2024

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" 
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant