Ok, look like this is a good reason to move to Sphinx4 in Java.
However, how much do you it would cost to someone that never looked inside the
pocketsphinx code to implement this feature in pocketsphinx?. I really want to
stay with C but I'm not sure if I can put the necessary effort for this
contribution.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think in C it would be painful to implement. The biggest trouble is to have
a flexible data structures to parse a string against grammar which you need to
turn into a tree form like in sphinx4. And you need a javascript library.
You might better have some sort of simple frontend to parse a result than a
full-feature javascript based tag support.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
Does anyone know if PocketSphinx handles action tags defined in the jsgf
format as Sphinx4 does?
as in this example:
http://cmusphinx.sourceforge.net/sphinx4/src/apps/edu/cmu/sphinx/demo/jsapi/t
ags/README.html
We are interested in using pocketsphinx because it is recomended for embeded
applications. But we need action tags.
Regards,
--
Jordi Adell
Tags are not supported by pocketsphinx yet.
Thank you,
I have seen the function:
Is there a way to add such a a transition in the FSG file itself, instead of
by code?
--
Jordi
This particular function is not used in CMUSphinx. Also this tag is different
from the one you are looking for.
Ok, look like this is a good reason to move to Sphinx4 in Java.
However, how much do you it would cost to someone that never looked inside the
pocketsphinx code to implement this feature in pocketsphinx?. I really want to
stay with C but I'm not sure if I can put the necessary effort for this
contribution.
I think in C it would be painful to implement. The biggest trouble is to have
a flexible data structures to parse a string against grammar which you need to
turn into a tree form like in sphinx4. And you need a javascript library.
You might better have some sort of simple frontend to parse a result than a
full-feature javascript based tag support.
And you might also want to look on Olympus project which describes grammars in
a different way and supports parsing of pocketsphinx results
http://wiki.speech.cs.cmu.edu/olympus/index.php/RavenClaw