[asterisk-speech-rec] Any Date / Time grammar than the built-in ?

sysadmin at airlinksystems.com sysadmin at airlinksystems.com
Fri Sep 7 12:09:10 CDT 2007


Hi guys,

     I have an application that asks the user for a date and time.  Right now I am doing it using a grammar that combines the built-in ABNFDate.gram and ABNFTime.gram, and a couple of other things (I added "today" and "tomorrow", for instance).   I am about to go through and tweek that with the tuner because I have had some complaints about it not working.

      Because I am about to go through it, it occurred to me to wonder if anyone out there had written a more extensive date-time grammar and might be able to share it.  What I am thinking of, is it would have the days of the week also, and also phrases such as "day after tomorrow" and "next friday" and etc.  I am also considering combining the date-time with "time periods", so the person could say "in two hours", and it would presume "today" as a default and return the appropriate thing.

      You could also try to handle "tomorrow afternoon" and "this afternoon" and etc.  When you think about it there is a huge number of ways to indicate a point in time.

      Do you guys know of anything that goes beyond what is in the Lumenvox built-in grammars, and even attempts any of all that stuff ?

     Just wondering, if something was out there I might use that and see if it worked better than the simple stuff I have now.

--Rob





More information about the asterisk-speech-rec mailing list