Menu

Grammar and slow talking

Help
2017-01-16
2017-01-21
  • pablo fernandez

    pablo fernandez - 2017-01-16

    If I have a grammar like this:

    #JSGF V1.0;
    grammar test;
    <saludo> = (klatu);
    <action> = (berata);
    <cosa> = (nikto);
    public <command> = <saludo> <action> <cosa>;
    

    It works, but only If I speak at "normal" speed. If I talk slowly, Pocketsphinx checks only the first word, then compares with the grammar and return an "ERROR: Final result does not match the grammar". Which is ok.

    The thing is, there is a parameter to allow pocketsphinx wait more time of silence until the next word?

     
  • pablo fernandez

    pablo fernandez - 2017-01-20

    Mmm for the moment, Ive ditched the grammar in favor of the Kws thingy. But still i have the same doubt. When using phrases, is it possible to tell Pocketsphinx to wait more time during a silence, for the next word?

    klatu berata nikto /1e-50/

    The idea is to make pocketsphinx wait a few seconds between klatu and berata, for example.

     
    • Nickolay V. Shmyrev

      is it possible to tell Pocketsphinx to wait more time during a silence, for the next word?

      It is not possible and not recommended.

       

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.