The line 352 has the JSGF hardcoded:
http://code.google.com/p/unimrcp/source/browse/trunk/plugins/mrcp-pocketsphinx/s
rc/mrcp_pocketsphinx.c#352
"-jsgf", grammar,"
It would be nice if this plugin accepts not only JSGF but Language Model (LM).
As I'm not a C programmer I just hardcoded a solution (See this thread at
unimrcp google group:
https://groups.google.com/forum/#!msg/unimrcp/iOZI1q242g4/qFvSWIuozUcJ)
But it would be nice to use "jsgf" or "lm" configured it in MRCPRecog call.
The variable "grammar" has only the compiled grammar and it (of course) dos not
work as a LM.
Original issue reported on code.google.com by robert.k...@oocorp.net on 15 Feb 2011 at 6:59
Original issue reported on code.google.com by
robert.k...@oocorp.net
on 15 Feb 2011 at 6:59