Hello,
I am building a simple program to recognize a few words and i need to reject the out of grammar words so i am using a file with keyphrase and a threshold in order to do this.
Here is my code:
BROWSER B R AW Z ER
COMPUTER K AH M P Y UW T ER
HELLO HH AH L OW
HELLO(2) HH EH L OW
MUSIC M Y UW Z IH K
OFF AO F
ON AA N
ON(2) AO N
OPEN OW P AH N
TURN T ER N
Keyphrase.list:
OPEN BROWSER /1e+20/
TURN ON MUSIC /1e+20/
TURN OFF MUSIC /1e+20/
TURN OFF COMPUTER /1e+20/
HELLO COMPUTER /1e+20/
But this is not recognizing any word at all, why this is happening?
Last edit: Paulo Ferreira 2017-06-16
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am building a simple program to recognize a few words and i need to reject the out of grammar words so i am using a file with keyphrase and a threshold in order to do this.
Here is my code:
Dictionary made with LMTool:
Keyphrase.list:
But this is not recognizing any word at all, why this is happening?
Last edit: Paulo Ferreira 2017-06-16
Maybe your microphone is muted. You can add
verbose=True
to constructor and check the log values.Maybe you should lower the Threshold, this did the Trick for me. I'm using /1e+10/ now and it works flawlessly