Menu

Help for Sphinx-4

Help
Wizzy
2008-09-27
2012-09-22
  • Wizzy

    Wizzy - 2008-09-27

    Hello everybody,

    This post is about Sphinx-4. I am trying to convert an audio file that contains conversations of people speaking to text format.

    I checked the tutorials and demos and got lost along the way.

    Can someone point me in the right direction or is this totally impossible currently with Sphinx-4?

     
    • Wizzy

      Wizzy - 2008-09-28

      Geez, now I am stumped...

       
    • Nickolay V. Shmyrev

      You are on the right way already. What problem using demo for your task do you have?

       
      • Wizzy

        Wizzy - 2008-09-27

        Thanks for the reply!

        The problem is... I look through the list of demos available and none on the list seems suitable for what I need to do.

        For instance, if you want to transcribe Martin Luther King's "I Have a Dream" Speech from his original audio format to text format, how can I proceed?

        Many thanks for your help! :)

         
        • Nickolay V. Shmyrev

          HelloNGram is suitable

           
          • Wizzy

            Wizzy - 2008-09-27

            But how?

            Just to confirm, you are referring to this right? --> http://cmusphinx.sourceforge.net/sphinx4/demo/sphinx/hellongram/README.html

            I don't want to speak into the microphone. I have a ready audio file and I just want to feed in the file to the program and let it transcribe to text.

            I don't see any file parameters in the example command either... please help, thank you!

             
            • Nickolay V. Shmyrev

              > I don't want to speak into the microphone. I have a ready audio file and I just want to feed in the file to the program and let it transcribe to text.

              Change config like in wavfile demo to get audio from the file.

              >I don't see any file parameters in the example command either... please help, thank you!

              In wavfile.java there is hardcoded path to audio file or you can submit it as argument. Also you'd probably want to look on:

              http://www.mediafire.com/download.php?5uxxffxsjop

              it has such changes already.

               
              • Wizzy

                Wizzy - 2008-09-27

                I downloaded the file you mentioned, unzipped it then... what's next?

                I can put it in the demo directory but there is no corresponding jar file in bin so how to execute?

                I am sorry that I must come across as really dumb to you. I am not a developer; I am just an illiterate end user... would you be kind enough to provide more idiot-proof instructions on how I can proceed?

                Many thanks in advance!

                 
                • Nickolay V. Shmyrev

                  Sorry, sphinx4 is not end-user product, you need to become a developer at least for a bit. Now add this to a build system and try to build jar. Then tune parameters you need and hopefully you'll get some result.

                   

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.