-
There's a FAQ entry on this about "out of grammar utterances." I used it in my small app and it helped
a lot. I did some tweaking of the two probabilities in
the FAQ to get the right balance of rejecting out-of-grammar
utterances and accepting desired ones.
http://cmusphinx.sourceforge.net/sphinx4/doc/Sphinx4-faq.html#out_of_grammar
-Rob.
2005-06-22 14:39:20 UTC in CMU Sphinx
-
Thought I would announce my simple desktop
control app based on Sphinx-4. It's available
at
http://brewer123.home.comcast.net/speechlion
The readme follows:
========================
README for SpeechLion 0.2
========================
Summary
=======
SpeechLion is a small speech recognition application
based on Sphinx-4_ which demonstrates desktop command
and control...
2005-06-12 06:32:26 UTC in CMU Sphinx
-
Yes, the workaround is fine for me. The grammar-switching time is still negligible for my app.
2005-06-09 14:03:30 UTC in CMU Sphinx
-
Paul,
Thanks for that suggestion. It saved me a lot of time troubleshooting. FlatLinguist fixed the problem, so it indeed seems to be a bug in DynamicFlatLinguist. To verify I switched my config back to DynamicFlatLinguist and the problem happened again immediately.
-Rob.
2005-06-08 23:56:00 UTC in CMU Sphinx
-
I've got user-commanded grammar switching implemented
in my small demo app. Unfortunately, I get a NullPointerException in DynamicFlatLinguist shortly after loading the new JSGF. The crash seems to happen when
I start speaking the next word to be recognized in the new grammar. I'm running Sphinx4 from CVS from 2005-06-07 under Java 1.5.0_01. My code is a simple loop roughly like this:
2005-06-08 13:46:13 UTC in CMU Sphinx
-
Thanks for the tip. For development I am using Linux on Gnome, so that should be helpful. I'll probably have to figure out JNI to do that. I'm hoping to run on Windows in the near future too, which is why I was hoping Java had this capability natively.
-Rob.
2005-06-07 19:59:44 UTC in CMU Sphinx
-
Sorry this is somewhat off-topic, but I figured others here may be doing something similar.
For a command and control app I'm working on, I'd like to load an application-specific grammar based on the window that currently has focus. For example, when Firefox has focus, I want to load a grammar in S4 that is specialized for browsing. Then when the user mouses into Emacs, I want to load an...
2005-06-07 14:51:53 UTC in CMU Sphinx
-
Not sure if this is a known problem or not, so I'll post it.
I'm getting a stack overflow in the JSGF grammar subsystem. It seems to only occur if I import a rule
of the same name into the local grammar.
I have my grammar split into several files of subgrammars.
I intend to enable and disable sets of subgrammars at runtime depending on the user's current context. Right now I am planning...
2005-06-07 14:38:49 UTC in CMU Sphinx
-
Hi all,
Just thought I'd mention that I've been getting back into sphinx4 this past weekend (as a hobby), and since I'm more comfortable with Python than Java, I tried using it with Jython. Jython is an implementation of the Python language which runs on the JVM with seamless integration between Python and Java classes. So far it is working very well. In fact for my usage pattern...
2005-05-31 15:02:56 UTC in CMU Sphinx
-
I've just started experimenting with sphinx4 again this past weekend, and using JSGF grammars for simple command recognition.
Something I found is that only the top-level parts of the grammar should have "public" attached to them. The subgrammars should not have "public" or they are recognized as allowed anywhere. If you have extraneous "public" keywords in...
2005-05-31 14:27:30 UTC in CMU Sphinx