Wednesday, September 21, 2011

Sphinx Video Tutorial

Running the demonstration programs

Simple demos to start with sphinx4

  • Hello World Demo: a command line application that recognizes simple phrases.
  • Hello N-Gram Demo: a command line application using an N-gram language model for speech recognition

Demos for audio file transcription

  • Transcriber Demo: a simple demo program showing how to transcribe a continuous audio file that has multiple utterances separated by silences.
  • Confidence Demo: a simple demo program showing how to obtain confidence scores for result.
  • Lattice Demo: a simple demo program showing how to extract lattices from recognition results.
  • Class-Based Language model Demo: a simple demo of the class based language model.
  • Aligner Demo: aligns audio file to transcription and get times of words. Can be useful for closed captioning.

Dialog demos to write advanced dialog system

  • ZipCity Demo: a Java Web Start technology application that recognizes spoken zip codes and locates the associated city and state.
  • JSGF Demo: a simple demo program showing how a program can swap between multiple JSGF grammars.
  • Dialog Demo: a demo program showing how a program can swap between multiple JSGF and dictation grammars.
  • Action Tags Demo: a demo program showing how to use action tags for post-processing of RuleParse objects obtained from JSGF grammars.

3 comments:

  1. Hi Ashish
    thks a lot for sphinx demo

    can u give me solution in HindiRecognizer


    Exception in thread "main" Property Exception component:'wsjLoader' property:'location' - Attempt to set unregistered property
    at edu.cmu.sphinx.util.props.ValidatingPropertySheet.setRaw(ValidatingPropertySheet.java:131)
    at edu.cmu.sphinx.util.props.ValidatingPropertySheet.(ValidatingPropertySheet.java:62)
    at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:209)
    at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(ValidatingPropertySheet.java:403)
    at edu.cmu.sphinx.linguist.acoustic.tiedstate.TiedStateAcousticModel.newProperties(TiedStateAcousticModel.java:159)
    at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:214)
    at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(ValidatingPropertySheet.java:403)
    at edu.cmu.sphinx.linguist.flat.FlatLinguist.setupAcousticModel(FlatLinguist.java:299)
    at edu.cmu.sphinx.linguist.flat.FlatLinguist.newProperties(FlatLinguist.java:246)
    at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:214)
    at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(ValidatingPropertySheet.java:403)
    at edu.cmu.sphinx.decoder.search.SimpleBreadthFirstSearchManager.newProperties(SimpleBreadthFirstSearchManager.java:180)
    at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:214)
    at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(ValidatingPropertySheet.java:403)
    at edu.cmu.sphinx.decoder.Decoder.newProperties(Decoder.java:71)
    at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:214)
    at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(ValidatingPropertySheet.java:403)
    at edu.cmu.sphinx.recognizer.Recognizer.newProperties(Recognizer.java:93)
    at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:214)
    at edu.cmu.sphinx.demo.helloworld.HindiRecognizer.main(HindiRecognizer.java:36)

    ReplyDelete
  2. Hello Ashish
    I am trying to use ur Hindi Recognizer demo but it is giving error in ConfigurationManager ? Can you please suggest me any solution??

    Devender

    ReplyDelete