HomeForumsOpenEarsJSGF language model

This topic has 2 voices, contains 1 reply, and was last updated by  Halle 98 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
Author Posts
Author Posts
February 10, 2012 at 6:59 am #8581

happy

hi Halle,
i’m trying to use jsgf as my application based on voice command. to make jsgf model itself, we must write down some rules. I’d like to apply some rules but however in your documentation it says that I cant change jsgf language model in between…

my question is,
can I change the dic only in between?
or can I choose what rule applies on jsgf file at some other state on my program?

thanks.

February 10, 2012 at 10:18 am #8582

Halle

You can select a different JSGF grammar every time you start the decoder, but you can’t switch grammars (or the accompanying .dic file) in the middle of using a decoder. Changing the phonetic dictionary it by itself would not cause any user-facing change in your app since it is the grammar or model that declares the words that the app is capable of perceiving. There is some experimental JSGF switching code here: http://www.politepix.com/forums/topic/how-to-try-out-pocketsphinx-7-with-openears/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.