Closed aleksandr-smechov closed 1 year ago
Yes, we will be adding a tutorial / example for diarization in the future.
I'm not sure why with your example audio the first couple of words aren't getting assigned a speaker, but the fact that the speaker_tag
field is missing is because the value is the default (0) which is not printed by default by protobuf. The zero indicates diarization do not assign the word a speaker.
Currently Riva does not punctuate or capitalize the individual word output. We plan to fix that in the future.
This is in progress.
Tutorial has been added at https://docs.nvidia.com/deeplearning/riva/user-guide/docs/tutorials/asr-speaker-diarization.html
I managed to make diarization work with the Python client using the below code.
However, some of the items in the
words
output don't contain a speaker label. Furthermore, there is no punctuation or capitalization in thewords
output. Here's an example:Can we get a proper notebook/example of how to use diarization, including how to get a diarized, punctuated, and capitalized transcript back?