0

I have a list of keywords that need to be spotted but some words are not "real words" (abracadabra, for example) and obviously they aren't in the dictionary.

My question is how do I ignore them ? (pocketsphinx returns an ERROR and stops). I read a manual for pocketsphinx_continuous but didn't find a suitable parameter.

theluckyemil
  • 663
  • 1
  • 7
  • 16

1 Answers1

1

Before using a word in a keyphrase check if it is in the dictionary with ps_lookup_word.

Nikolay Shmyrev
  • 24,897
  • 5
  • 43
  • 87
  • in my opinion, it makes more sense to skip them (or display in error section but not stop the program), or make a command line option for that, like --ignore_missing. – theluckyemil Aug 04 '15 at 09:36