Menu

Problem on using pocketsphinx

Help
sam
2018-09-22
2018-09-26
  • sam

    sam - 2018-09-22

    Dear all,
    I am now using pocketsphinx on raspberry pi 3 for speech recognition, but i meet some problem
    Version:
    pocketsphinx-5prealpha
    sphinxbase-5prealpha

    when I tried to run pocketsphinx_continuous
    It shows:
    ERROR: "cmdln.c", line 682: No arguments given, available options are: (at the beginning)
    .
    .
    .
    INFO: continuous.c(295): Specify '-infile <file.wav>' to recognize from file or'-inmic yes' to recognize from microphone.</file.wav> (at the end)

    I have tried to reinstall the file, and even raspbian, but it still fail. I would really like to know the way to fix this.

    Thank you

     
    • Nickolay V. Shmyrev

      have tried to reinstall the file

      You should have tried to specify an argument as advised in the message.

       
      • sam

        sam - 2018-09-25

        Thank you.
        But may I know how to specify an argument?
        Is there any guide or tutorial I can follow?

         
        • G10DRAS

          G10DRAS - 2018-09-26

          for example:
          pocketsphinx_continuous -infile arctic_a0001.wav
          OR
          pocketsphinx_continuous -inmic yes

          There are many arguments, check what are the arguments you need.

           
      • yeelearn

        yeelearn - 2018-09-26

        excuse me
        How to switch between two search methods (ngram_search and kws_search) in one program
        Please provide a sample to me. thank you.

         

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.