Menu

Pocketsphinx: number of words in the input

Help
2009-03-19
2012-09-22
  • Jagadeesh Balam

    Jagadeesh Balam - 2009-03-19

    Hi,

    In my application I pass a fixed buffer of 1.5 ms to be recognized to pocketsphinx . Typically the buffer should contain one or two words but when there are more words ( like numbers said very fast), the recognizer takes a long time to give the output. Is there a way to know that the buffer contains more than two words, so that I exit the recognizer instead of waiting to get the recognition result.

    I welcome any suggestions on this.

    Thanks in advance,
    J

     
    • Jagadeesh Balam

      Jagadeesh Balam - 2009-03-19

      I meant 1.5 seconds..I apologize for the typo

       
    • Nickolay V. Shmyrev

      Hm, if you need a fixed time for the recognition, can't you just insert an alarm and break the recognizer after 1.5 secs?

       

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.