Skip to content

Conversation

@ConProgramming
Copy link

  • Now assign_word_speakers also returns chunk level segments split by new speaker
  • Now assign_word_speakers also returns a set of unique speakers

Now `assign_word_speakers` also returns chunk level segments split by new speaker
Now `assign_word_speakers` also returns a set of unique speakers
@ConProgramming
Copy link
Author

I was also going to change word_segments to have "speaker": speaker and "text": seg["text"][int(wrow["segment-text-start"]):int(wrow["segment-text-end"])]...

But according to the code comment the .srt format depends on it being "text": f"[{speaker}]: " + seg["text"][int(wrow["segment-text-start"]):int(wrow["segment-text-end"])]?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant