Menu

How to instruct PocketSphinx to ignore words outside of a grammar?

Help
2016-07-10
2019-06-19
  • Michael Nistler

    Michael Nistler - 2016-07-10

    I'm running the Android PocketSphinx demo and when I run the digits recognition part using the limited grammar it "recognizes" words that are part of the grammar but nowhere close to what I spoke.

    For example, while running the digits demo (which will only recognize spoken numbers) I speak "sunny spells on wednesday" and PocketSphinx recognized "two six oh six oh one one zero". Not even close. I would have expected PocketSphinx to recognize nothing until it hears a word that's included in the grammar.

    I'd imagine that there'd be a way to configure PocketSphinx to ignore words that aren't in the grammar, or meet some minimum threshold. Can this be done? How? Thanks!

     
  • Nickolay V. Shmyrev

    From tutorial:

    Pocketsphinx supports keyword spotting mode where you can specify the keyword list to look for. The advantage of this mode is that you can specify a threshold for each keyword so that keyword can be detected in continuous speech. All other modes will try to detect the words from grammar even if you used words which are not in grammar.

    http://cmusphinx.sourceforge.net/wiki/tutoriallm

     
    • ashwin patil

      ashwin patil - 2019-06-19

      what can be done in continuous mode?

       
    • ashwin patil

      ashwin patil - 2019-06-19

      what can be done in continuous mode?

       
    • ashwin patil

      ashwin patil - 2019-06-19

      what can be done in continuous mode?

       
    • ashwin patil

      ashwin patil - 2019-06-19

      what can be done in continuous mode?

       
  • Michael Nistler

    Michael Nistler - 2016-07-12

    hmmm, this seems to be giving me some better results. The thresholds seem to really affect the detected words, so I'll see if adjusting them helps. Thanks!

     
  • Vamsidhar

    Vamsidhar - 2016-07-27

    @Micheal Nistler, How you adjusted threshod for key phrases?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.