Why does the Julius speech recognition engine return a segmentation fault when passing a WAV file?












1















I installed the julius and julius-voxforge packages on Ubuntu 12.04 LTS, and now I'm trying to run the julius command on a WAV file called test.wav. I ran this command:



julius -input raw test.wav


but it simply says "Segmentation fault" without any further information. I've been searching the documentation for a few hours now, and I can't find any relevant information.










share|improve this question


















  • 1





    Not of much help I'm afraid but I Googled julius segmentation fault and found Voice Recognition in Ubuntu which mentions encountering a segmentation fault way down the page in the section titled "Running on YouTube Videos". Maybe you could contact the blogger?

    – user25656
    Dec 13 '12 at 6:32






  • 1





    Just try pocketsphinx, it works without a problem for me. Voxforge models for pocketsphinx are even more accurate. See for details cmusphinx.sourceforge.net

    – Nikolay Shmyrev
    Dec 14 '12 at 9:04











  • @NikolayShmyrev Any more information? All I see in the repositories are libraries, e.g. for Python. Is there a terminal application built around this that I'm missing?

    – Ricardo Altamirano
    Dec 18 '12 at 22:52






  • 1





    Yes, there is pocketsphinx_continuous binary. To decode 16khz 16bit mono wav file use pocketsphinx_continuous -infile file.wav

    – Nikolay Shmyrev
    Dec 19 '12 at 6:54











  • @NikolayShmyrev The command you suggest returns an error of Unknown argument name '-infile', and according to its man page, no such argument exists for the pocketsphinx_continuous binary, which is installed as part of the pocketsphinx_utils package. Any other ideas?

    – Ricardo Altamirano
    Jan 20 '13 at 18:37
















1















I installed the julius and julius-voxforge packages on Ubuntu 12.04 LTS, and now I'm trying to run the julius command on a WAV file called test.wav. I ran this command:



julius -input raw test.wav


but it simply says "Segmentation fault" without any further information. I've been searching the documentation for a few hours now, and I can't find any relevant information.










share|improve this question


















  • 1





    Not of much help I'm afraid but I Googled julius segmentation fault and found Voice Recognition in Ubuntu which mentions encountering a segmentation fault way down the page in the section titled "Running on YouTube Videos". Maybe you could contact the blogger?

    – user25656
    Dec 13 '12 at 6:32






  • 1





    Just try pocketsphinx, it works without a problem for me. Voxforge models for pocketsphinx are even more accurate. See for details cmusphinx.sourceforge.net

    – Nikolay Shmyrev
    Dec 14 '12 at 9:04











  • @NikolayShmyrev Any more information? All I see in the repositories are libraries, e.g. for Python. Is there a terminal application built around this that I'm missing?

    – Ricardo Altamirano
    Dec 18 '12 at 22:52






  • 1





    Yes, there is pocketsphinx_continuous binary. To decode 16khz 16bit mono wav file use pocketsphinx_continuous -infile file.wav

    – Nikolay Shmyrev
    Dec 19 '12 at 6:54











  • @NikolayShmyrev The command you suggest returns an error of Unknown argument name '-infile', and according to its man page, no such argument exists for the pocketsphinx_continuous binary, which is installed as part of the pocketsphinx_utils package. Any other ideas?

    – Ricardo Altamirano
    Jan 20 '13 at 18:37














1












1








1








I installed the julius and julius-voxforge packages on Ubuntu 12.04 LTS, and now I'm trying to run the julius command on a WAV file called test.wav. I ran this command:



julius -input raw test.wav


but it simply says "Segmentation fault" without any further information. I've been searching the documentation for a few hours now, and I can't find any relevant information.










share|improve this question














I installed the julius and julius-voxforge packages on Ubuntu 12.04 LTS, and now I'm trying to run the julius command on a WAV file called test.wav. I ran this command:



julius -input raw test.wav


but it simply says "Segmentation fault" without any further information. I've been searching the documentation for a few hours now, and I can't find any relevant information.







segmentation-fault speech-recognition






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 13 '12 at 5:06









Ricardo AltamiranoRicardo Altamirano

8842816




8842816








  • 1





    Not of much help I'm afraid but I Googled julius segmentation fault and found Voice Recognition in Ubuntu which mentions encountering a segmentation fault way down the page in the section titled "Running on YouTube Videos". Maybe you could contact the blogger?

    – user25656
    Dec 13 '12 at 6:32






  • 1





    Just try pocketsphinx, it works without a problem for me. Voxforge models for pocketsphinx are even more accurate. See for details cmusphinx.sourceforge.net

    – Nikolay Shmyrev
    Dec 14 '12 at 9:04











  • @NikolayShmyrev Any more information? All I see in the repositories are libraries, e.g. for Python. Is there a terminal application built around this that I'm missing?

    – Ricardo Altamirano
    Dec 18 '12 at 22:52






  • 1





    Yes, there is pocketsphinx_continuous binary. To decode 16khz 16bit mono wav file use pocketsphinx_continuous -infile file.wav

    – Nikolay Shmyrev
    Dec 19 '12 at 6:54











  • @NikolayShmyrev The command you suggest returns an error of Unknown argument name '-infile', and according to its man page, no such argument exists for the pocketsphinx_continuous binary, which is installed as part of the pocketsphinx_utils package. Any other ideas?

    – Ricardo Altamirano
    Jan 20 '13 at 18:37














  • 1





    Not of much help I'm afraid but I Googled julius segmentation fault and found Voice Recognition in Ubuntu which mentions encountering a segmentation fault way down the page in the section titled "Running on YouTube Videos". Maybe you could contact the blogger?

    – user25656
    Dec 13 '12 at 6:32






  • 1





    Just try pocketsphinx, it works without a problem for me. Voxforge models for pocketsphinx are even more accurate. See for details cmusphinx.sourceforge.net

    – Nikolay Shmyrev
    Dec 14 '12 at 9:04











  • @NikolayShmyrev Any more information? All I see in the repositories are libraries, e.g. for Python. Is there a terminal application built around this that I'm missing?

    – Ricardo Altamirano
    Dec 18 '12 at 22:52






  • 1





    Yes, there is pocketsphinx_continuous binary. To decode 16khz 16bit mono wav file use pocketsphinx_continuous -infile file.wav

    – Nikolay Shmyrev
    Dec 19 '12 at 6:54











  • @NikolayShmyrev The command you suggest returns an error of Unknown argument name '-infile', and according to its man page, no such argument exists for the pocketsphinx_continuous binary, which is installed as part of the pocketsphinx_utils package. Any other ideas?

    – Ricardo Altamirano
    Jan 20 '13 at 18:37








1




1





Not of much help I'm afraid but I Googled julius segmentation fault and found Voice Recognition in Ubuntu which mentions encountering a segmentation fault way down the page in the section titled "Running on YouTube Videos". Maybe you could contact the blogger?

– user25656
Dec 13 '12 at 6:32





Not of much help I'm afraid but I Googled julius segmentation fault and found Voice Recognition in Ubuntu which mentions encountering a segmentation fault way down the page in the section titled "Running on YouTube Videos". Maybe you could contact the blogger?

– user25656
Dec 13 '12 at 6:32




1




1





Just try pocketsphinx, it works without a problem for me. Voxforge models for pocketsphinx are even more accurate. See for details cmusphinx.sourceforge.net

– Nikolay Shmyrev
Dec 14 '12 at 9:04





Just try pocketsphinx, it works without a problem for me. Voxforge models for pocketsphinx are even more accurate. See for details cmusphinx.sourceforge.net

– Nikolay Shmyrev
Dec 14 '12 at 9:04













@NikolayShmyrev Any more information? All I see in the repositories are libraries, e.g. for Python. Is there a terminal application built around this that I'm missing?

– Ricardo Altamirano
Dec 18 '12 at 22:52





@NikolayShmyrev Any more information? All I see in the repositories are libraries, e.g. for Python. Is there a terminal application built around this that I'm missing?

– Ricardo Altamirano
Dec 18 '12 at 22:52




1




1





Yes, there is pocketsphinx_continuous binary. To decode 16khz 16bit mono wav file use pocketsphinx_continuous -infile file.wav

– Nikolay Shmyrev
Dec 19 '12 at 6:54





Yes, there is pocketsphinx_continuous binary. To decode 16khz 16bit mono wav file use pocketsphinx_continuous -infile file.wav

– Nikolay Shmyrev
Dec 19 '12 at 6:54













@NikolayShmyrev The command you suggest returns an error of Unknown argument name '-infile', and according to its man page, no such argument exists for the pocketsphinx_continuous binary, which is installed as part of the pocketsphinx_utils package. Any other ideas?

– Ricardo Altamirano
Jan 20 '13 at 18:37





@NikolayShmyrev The command you suggest returns an error of Unknown argument name '-infile', and according to its man page, no such argument exists for the pocketsphinx_continuous binary, which is installed as part of the pocketsphinx_utils package. Any other ideas?

– Ricardo Altamirano
Jan 20 '13 at 18:37










3 Answers
3






active

oldest

votes


















1














I was also able to confirm this behaviour in Ubuntu 12.04



Your best course of action would be to file a bug, so that you can get proper support from the developers.






share|improve this answer































    0














    U cant give input directly on your CLI like this
    Open terminal on the location where your Sample.jconf is present(Where your Acoustic Model and Grammer is present)
    Then use this command



    julius -input rawfile -C Sample.jconf



    After that input your wav file with its location
    Remember the input file should be in-
    1) .wav format
    2) bit resolution - 16 bit
    3) sampling rate - 16000 hz
    4) audio channel - mono





    share








    New contributor




    kanishk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.




























      -2














      I think that you forgot to call configuration file.
      Like: -C config






      share|improve this answer


























      • Like this, for example? julius -input raw test.wav -C julius.jconf

        – Ricardo Altamirano
        Dec 15 '12 at 21:33













      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "89"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f228511%2fwhy-does-the-julius-speech-recognition-engine-return-a-segmentation-fault-when-p%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      1














      I was also able to confirm this behaviour in Ubuntu 12.04



      Your best course of action would be to file a bug, so that you can get proper support from the developers.






      share|improve this answer




























        1














        I was also able to confirm this behaviour in Ubuntu 12.04



        Your best course of action would be to file a bug, so that you can get proper support from the developers.






        share|improve this answer


























          1












          1








          1







          I was also able to confirm this behaviour in Ubuntu 12.04



          Your best course of action would be to file a bug, so that you can get proper support from the developers.






          share|improve this answer













          I was also able to confirm this behaviour in Ubuntu 12.04



          Your best course of action would be to file a bug, so that you can get proper support from the developers.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 13 '12 at 7:47









          HashkenHashken

          4,45852546




          4,45852546

























              0














              U cant give input directly on your CLI like this
              Open terminal on the location where your Sample.jconf is present(Where your Acoustic Model and Grammer is present)
              Then use this command



              julius -input rawfile -C Sample.jconf



              After that input your wav file with its location
              Remember the input file should be in-
              1) .wav format
              2) bit resolution - 16 bit
              3) sampling rate - 16000 hz
              4) audio channel - mono





              share








              New contributor




              kanishk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.

























                0














                U cant give input directly on your CLI like this
                Open terminal on the location where your Sample.jconf is present(Where your Acoustic Model and Grammer is present)
                Then use this command



                julius -input rawfile -C Sample.jconf



                After that input your wav file with its location
                Remember the input file should be in-
                1) .wav format
                2) bit resolution - 16 bit
                3) sampling rate - 16000 hz
                4) audio channel - mono





                share








                New contributor




                kanishk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.























                  0












                  0








                  0







                  U cant give input directly on your CLI like this
                  Open terminal on the location where your Sample.jconf is present(Where your Acoustic Model and Grammer is present)
                  Then use this command



                  julius -input rawfile -C Sample.jconf



                  After that input your wav file with its location
                  Remember the input file should be in-
                  1) .wav format
                  2) bit resolution - 16 bit
                  3) sampling rate - 16000 hz
                  4) audio channel - mono





                  share








                  New contributor




                  kanishk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.










                  U cant give input directly on your CLI like this
                  Open terminal on the location where your Sample.jconf is present(Where your Acoustic Model and Grammer is present)
                  Then use this command



                  julius -input rawfile -C Sample.jconf



                  After that input your wav file with its location
                  Remember the input file should be in-
                  1) .wav format
                  2) bit resolution - 16 bit
                  3) sampling rate - 16000 hz
                  4) audio channel - mono






                  share








                  New contributor




                  kanishk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.








                  share


                  share






                  New contributor




                  kanishk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  answered 7 mins ago









                  kanishkkanishk

                  1




                  1




                  New contributor




                  kanishk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.





                  New contributor





                  kanishk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






                  kanishk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.























                      -2














                      I think that you forgot to call configuration file.
                      Like: -C config






                      share|improve this answer


























                      • Like this, for example? julius -input raw test.wav -C julius.jconf

                        – Ricardo Altamirano
                        Dec 15 '12 at 21:33


















                      -2














                      I think that you forgot to call configuration file.
                      Like: -C config






                      share|improve this answer


























                      • Like this, for example? julius -input raw test.wav -C julius.jconf

                        – Ricardo Altamirano
                        Dec 15 '12 at 21:33
















                      -2












                      -2








                      -2







                      I think that you forgot to call configuration file.
                      Like: -C config






                      share|improve this answer















                      I think that you forgot to call configuration file.
                      Like: -C config







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited Dec 15 '12 at 21:29









                      Ricardo Altamirano

                      8842816




                      8842816










                      answered Dec 15 '12 at 19:40









                      Luis UebelLuis Uebel

                      1




                      1













                      • Like this, for example? julius -input raw test.wav -C julius.jconf

                        – Ricardo Altamirano
                        Dec 15 '12 at 21:33





















                      • Like this, for example? julius -input raw test.wav -C julius.jconf

                        – Ricardo Altamirano
                        Dec 15 '12 at 21:33



















                      Like this, for example? julius -input raw test.wav -C julius.jconf

                      – Ricardo Altamirano
                      Dec 15 '12 at 21:33







                      Like this, for example? julius -input raw test.wav -C julius.jconf

                      – Ricardo Altamirano
                      Dec 15 '12 at 21:33




















                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f228511%2fwhy-does-the-julius-speech-recognition-engine-return-a-segmentation-fault-when-p%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      GameSpot

                      日野市

                      Tu-95轟炸機