speaker-verification icon indicating copy to clipboard operation
speaker-verification copied to clipboard

What's the meaning of queryWS

Open YichiHuang opened this issue 7 years ago • 5 comments

Hi, I saw the code in spk_dnn.py and I don't have idea about the function def queryWS(nameKW) , which is defined as follows: def queryWS(nameKW): a = { 'government': 75, 'company': 71, 'hundred': 59, 'nineteen': 79, 'thousand': 77, 'morning': 69, 'business': 81 } return a[nameKW] Could you please give some comments about this? Thanks.

YichiHuang avatar Dec 14 '17 08:12 YichiHuang

@YichiHuang The data is from Librispeech, and those are the keywords that I trained my models on, this code is for Text Dependent Speaker Verification

rajathkmp avatar Dec 21 '17 21:12 rajathkmp

Thanks for your reply. It seems that you used the data that only contains Keyword from Librispeech. As we know, each audio of Librispeech is long duration and contains dozens of words. So, you cut the long duration audio into a smaller one that only contains one Keyword, right?

YichiHuang avatar Dec 22 '17 02:12 YichiHuang

@YichiHuang Yes, used Kaldi ASR to do so

rajathkmp avatar Dec 27 '17 21:12 rajathkmp

@rajathkmp , Thanks for you very good project. Could you share the step to use the Kaldi ASR to split the keyword from setence? I don't have any idea, it is not friendly to use

Thanks Jinhong

meixitu avatar Mar 16 '18 06:03 meixitu

@YichiHuang , could you share the step to use the Kaldi ASR to split the keyword from Librispeech? Now I downloaded Librispeech and latest Kaldi, But Kaldi has many code, I don't know how to use it.

Thanks Jinhong

meixitu avatar Jun 22 '18 23:06 meixitu