GithubHelp home page GithubHelp logo

Sentence matching about pocketsphinx.js HOT 3 OPEN

resle avatar resle commented on September 22, 2024
Sentence matching

from pocketsphinx.js.

Comments (3)

syl22-00 avatar syl22-00 commented on September 22, 2024

Not sure exactly what you want. If you want to recognize that sentence with possible missing words, you can build a grammar as you did in your example and add epsilon-transitions (transition with no word emitted). If you want to detect if words are mispronunced or replaced by ther words, you'd need to train some fillers. You should find more on these on sphinx website, nothing here is specific to pocketsphinx.js. http://cmusphinx.sourceforge.net/

Alternatively, you can look at ispikit, which does pronunciation assessment and flags missing and mispronounced words.

from pocketsphinx.js.

resle avatar resle commented on September 22, 2024

Thanks.

What am trying to do is check whether a user has spoken all the words in a given sentence, with reasonable "understandability"

Once understood how to build grammars with epsilons, the remaining issue here is the recognition's "confidence threshold" so to say. I have tested CMU Sphinx and it seems to be way more strict, which is exactly what I need. Is this, perhaps, a parameter that needs to be set somewhere for PocketSphinxJS ?

I must be doing something wrong because, as much as I know that filters should be trained etc., I am experiencing that even leaving the microphone pick up random noise, always results in all the words being correctly recognized one after another.

from pocketsphinx.js.

nshmyrev avatar nshmyrev commented on September 22, 2024

You need to use keyword spotting mode, that's all.

from pocketsphinx.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.