Menu

pocketsphinx - Keyword spotting vs JSGF accuracy

Help
2017-02-16
2017-02-16
  • Cezary Oniszczuk

    Hello!
    KWS code

    left /1e-1/
    right /1e-1/
    up /1e-0/
    down /1e-1/
    special /1e-1/
    known /1e-1/
    exit /1e-1/
    next /1e-1/
    two right /1e-3/
    two left /1e-3/
    credits /1e-1/
    please let me go /1e-2/
    start /1e-1/
    help /1e-1/
    attack /1e-1/
    

    JSGF code

    <move> = (two | three)* (left | right | up | down);
    
    <menu> = (exit | start | next | help | credits);
    
    <action> = (attack | special);
    
    <dialog> = (please)*  (let me go); 
    
    public <command> = <move>* <menu>* <action>* <dialog>*;
    

    Using JSGF gives better accuracy for command control with microphone than using KWS and the thing is that I don't know why. Could anyone tell me why?

    Thanks in advance for reply.

     
    • Arseniy Gorin

      Arseniy Gorin - 2017-02-21

      These two modes are different. In JSGF you have more constraints on the accepted phrases, while in KWS you are free to spot what is in your list in any order

      Check again the tutorial for more details
      http://cmusphinx.sourceforge.net/wiki/tutoriallm

      For example, your KWS list might be improved by writing phrases and tuning thresholds.

       
  • justin case

    justin case - 2017-02-18

    Hi I am a noob but i found something here

    http://cmusphinx.sourceforge.net/wiki/tutorialpocketsphinx#searches

    Searches

    Developer can configure several “search” objects with different grammars and language models and switch them in runtime to provide interactive experience for the user.

    There are different possible search modes:

    keyword - efficiently looks for keyphrase and ignores other speech. allows to configure detection threshold.</li>
    grammar - recognizes speech according to JSGF grammar. Unlike keyphrase grammar search doesn't ignore words which are not in grammar but tries to recognize them.
    

    maybe he got some misspelled/reconised right cause of grammar mode..

     

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.