JSGF Woes

April 7, 2004

Having trouble with JSGF - The Java Speech Grammar Format. The JSGF is primarily used with rule grammars in speech recognition. It seems some of the syntax in JSGF has been borrowed from regular expressions but unfortunately you don't find all the power of regex in JSGF.

Since it has been inspired by regular expressions why they didn't just copy it in it's entirity after all that would have made life easier for the people who create the implementations because they can then build on existing infrastructure.

Now for my problem with JSGF: I need a rule grammar for recognizing phone numbers. If you take for example 0112912900 many people will recite this is Zero, Double One, Two, One, Two, Nine, Double Zero.

Unfortunately it does not look as if the grammar format can support this kind of detection thus uses will be forced to recite the numbers one at a time - which is not very user friendly.

Posted by raditha at April 7, 2004 1:36 AM
Your Ad Here

 

Jabber  |  Linux  |  mySQL  |  PHP  |  Java  |  Site Map  |  Wiki

Downloads  |  About  |  Links  |  Contact  |  Home

 

Copyright © Raditha Dissanayake 2003 - 2007

Terms of Use  |  Privacy

 

 

April 2004
Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30