Menu

Sphinx implementation

Help
Sourav
2016-09-29
2016-10-04
  • Sourav

    Sourav - 2016-09-29

    Hello

    I am new in Sphinx and I have to implement Sphinx in my project. I have downloaded the demo project provided by you and it is working properly. But I want to write my own command rather than using "oh mighty computer". So please giude me how I can achive that and what tools are required for this.

    Thanks

    Sourav

     
    • Nickolay V. Shmyrev

      Open the source in IDE, read it and replace the phrase you need.

       
      • Sourav

        Sourav - 2016-10-03

        I did the same but I am getting some issue. I am trying to use "ok Bird" as a keyphrase but not "oh mighty computer". When I am executing the code onPartialResult() calls automatically again and again without activation command "ok Bird".

         

        Last edit: Sourav 2016-10-03
        • Nickolay V. Shmyrev

          You need to change keyphrase threshold to get reliable detection as described in tutorial:

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

           
          • Sourav

            Sourav - 2016-10-03

            Thanks for your help but can you please guide me that how would I know which value is suitable for keyphrase.

             
          • Sourav

            Sourav - 2016-10-04

            I am using keyphrase "ok bird" having threshold (1e-20). It working but I have to repeat the keyphrase 3-4 times to wake up. If I decreases the thresh hold from (1e-20) to (1e-30) or say (1e-40) then false alarms starts triggering. So what value I used so that Voice recognisation works smoothly as it is working in "oh mighty computer".

             
            • Nickolay V. Shmyrev

              Try 1e-25?

              For more reliable recognition it's better to use longer keyphrase.

               
              • Sourav

                Sourav - 2016-10-04

                Yes I have tried with 1e-25. But this trigger false alarms even I don't say somethening. And as you suggest to use longer keyphrase, I used that like "ok bird wakeup" with threshold values (1e-45) , (1e-40) , (1e-35). Keyphrase are not recognised even I tries to speak keyphrase number of times.

                 

                Last edit: Sourav 2016-10-04
                • Nickolay V. Shmyrev

                  Most likely you speak with accent or the audio is too noisy or something like that. You can provide audio recordings you use for testing to get help on this issue.

                   

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.