opensource-spraakherkenning-nl / Kaldi_NL

Code related to the Dutch instance and user groups of the KALDI speech recognition toolkit
http://www.opensource-spraakherkenning.nl
Apache License 2.0
64 stars 16 forks source link

Add speaker id to sentence in output text file #26

Open LouDnl opened 1 year ago

LouDnl commented 1 year ago

I have been trying to figure out how to add a speaker id to the output text file but have come up empty. I can tinker the settings so that when there are 2 speakers these get identified and added to the 1Best.ctm file at the end of each line, but I want this added to the output text file with sentences. In other kaldi examples this is done via multiple ways but mostly involve adding speaker next to vector as argument for vector_extract. Any hints on where to do this with KaldiNL? Thanks!