Menu

Newbie - Install/Setup Issues

JRDew
2014-05-02
2014-05-30
  • JRDew

    JRDew - 2014-05-02

    I am new to JAVA, I have created 1 small project for work (in Eclipse) and am about half way through JAVA Head First.
    I would now like to start using Sphinx but I don't even know where to start. I have found some YouTube videos but they are older and don't match what I am seeing. I can't find a good tutorial that can walk me through step-by-step.
    Does anybody know where I can find (or is willing to create) a video or step-by-step instructions of how to get setup and running? Something that treats me like I have no experience?
    Start with Eclipse download and install, Sphinx download and install, settings, etc, to running HelloWorld. I know this is a lot to ask but I would REALLY appreciate the help. Big thanks in advance!

     
  • Dmytro Prylipko

    Dmytro Prylipko - 2014-05-05

    It depends on what you wish to implement,
    In the Sphinx4 download package you can find various demos, including build instructions.
    Shortly: you should add the sphinx4.jar as a library to your project first.
    Then you will be able to use the Sphinx4 classes in your project. Transcriber demo gives a nice example of such usage.

    • Download and install Eclipse
    • Download and unpack Sphinx4
    • Copy sphinx4.jar from the Sphinx4 lib folder to your project's lib folder
    • Specify sphinx4.jar as the library for your project
    • Have fun with such classes as ConfigurationManager, Recognizer, and Result that give you an ability to operate with Sphinx ASR engine from the java code. It is important to configure your engine before you start.
     
  • JRDew

    JRDew - 2014-05-12

    Dmytro
    I have been away for a couple days.
    Thanks for the information, I will give this a try in the next day or two and let you know if I can figure it out.
    Thanks again

     
  • JRDew

    JRDew - 2014-05-14

    Download and install Eclipse

    - Done
    

    Download and unpack Sphinx4
    - Done
    Copy sphinx4.jar from the Sphinx4 lib folder to your project's lib folder
    - I created a "lib" folder under my project and copied sphinx4.jar into it
    Specify sphinx4.jar as the library for your project
    - I am not sure how to do this, do I just use "import "...
    - Can you tell me what to type?
    Have fun with such classes as ConfigurationManager, Recognizer, and Result that give you an ability to operate with Sphinx ASR engine from the java code. It is important to configure your engine before you start.
    - Could you also give me a small quick example of using the Recognizer class?

    Again, I know it is a lot to ask and I really appreciate the help.

    Thanks again

     
  • JRDew

    JRDew - 2014-05-28

    Thanks for the additional information, I will give this a try.
    Much appreciated!

     
  • JRDew

    JRDew - 2014-05-30

    Okay, I spent many hours on this today. I had a problem with JAVA 8 because ANT isn't compatible so after I figured that out I went back to JAVA 7 which caused all kinds of issues for a newbie like me. Plus I thought I needed a different version of ANT so I downloaded and installed that and then tried to back it out but I don't know if the back out was successful. I still see 2 Build As Ant... options instead of one.

    I am now running:
    jre-7u60-windows-x64
    jdk-7u60-windows-x64
    sphinx4-1.0beta6-src
    eclipse-standard-kepler-SR2-win32-x86_64

    Eclipse works so I moved on to Sphinx. I installed Sphinx by walking through this link: http://my.fit.edu/~vkepuska/ece5526/SPHINX/Sphinx4.pdf (I did not have an "out" folder to copy) I received a "build successful" result from running the build.xml as ANT but still have a red x on the Sphinx-4 project in Eclipse.
    Error: The project was not built due to "Could not delete '/Sphinx-4/bld/edu'.". Fix the problem, then try refreshing this project and building it since it may be inconsistent.

    Now, a TRUE newbie question. I still don't know how to use the examples in sphinx4/scr/apps. I can see that they exist but when I try to open the helloWorld.java file I can't run it. When I create a new project and import all files from the helloWorld folder I am sill not able to run it doe to a main not found error.

    I have learned a lot just trying to get this setup, I don't want to quit now. I really want to see these sphinx demos working. Can you stick with me a little longer and help me again?
    Thanks!

     

Log in to post a comment.

MongoDB Logo MongoDB