EJavaM - 2006-08-16

Hi All,

I'm trying to simplify a complex JSGF grammar such that I have as little redundancy as possible; however I note that the Sept, 2004 version of Sphinx4 only allows literal phrases, not a true BNF grammar to be used.

For instance, the following phrases:

my back hurts |
my butt hurts |
my heart hurts

when converted to BNF would be represented as:

my (back | butt | heart) hurts

Has that been updated so that I can use the simpler BNF, or are there parsing tools now available that let us specify our grammar in a BNF style, and that convert them to a literal equivalent (outputting them as a .gram file) before deployment?

TIA,
elm