Menu

Help with sphinx3 language model

Help
puffadder
2009-09-18
2012-09-22
  • puffadder

    puffadder - 2009-09-18

    Hi all, I am new to Sphinx. I have read a lot of documents about it though. I
    was able to run the demo (an4) using SphinxTrain and s3 flat decoder. Now I
    want to make my own language model. My end goal is to build an application
    that will perform word spotting. The dict is very small (20-25 words). I made
    a language model with CMU SLM toolkit version 2. It works well for predicting
    words that are in the grammar, but for out-of-grammar words it predicts
    randomly, one of the words out of the vocbulary. I tried to make an open vocab
    of type 2 but no luck. Can anyone help me out on this????
    Any help will be greatly appreciated.
    Thanks in advance.

     
  • Nickolay V. Shmyrev

    Please search the forum before asking. Questions like your one are asked every
    week.

    https://sourceforge.net/projects/cmusphinx/forums/forum/5471/topic/3400265

    In particulary, you don't need a language model with a finite state grammar.
    Also you need to use a pocketsphinx API to get confidence result and filter
    the hypothesis.

     
  • puffadder

    puffadder - 2009-09-21

    Thanks for the reply.

    -- Please search the forum before asking. Questions like your one are asked
    every week.

    Please pardon the redundancy.

    -- In particulary, you don't need a language model with a finite state
    grammar.

    Means???

    Also, AFAIK Finite State Grammar is for command/control applications which is
    not my case. What I would like to do is pick up a keyword from a long string
    of words. Should I implement FSG??

    Anyways, I will try PocketSphinx. Thanks for the pointer.

     
  • Nickolay V. Shmyrev

    > The dict is very small (20-25 words).

    The spotting is usually implemented with a finite state grammar like JSGF,
    it's not only about command and control.

     

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.