Commit Graph

35 Commits

Author SHA1 Message Date
bringert
e967e040f9 Added non-recursive SRGS printing. 2007-06-25 13:39:26 +00:00
bringert
4d28e6ec1c SRG always has RE rhs. 2007-06-21 13:11:26 +00:00
bringert
205f79efc6 Use makeSimpleSRG everywhere and remove makeSRG. Reimplemented top-down filtering in terms of CFRules instead of SRG. Do top-down filtering in makeSimpleSRG. 2007-03-19 18:03:19 +00:00
bringert
99d774c2f5 Get speechLanguage flag from both command-line and grammar. Reformat it to RFC3066 format (- instead of _) and use it in SRGS, VoiceXML and JSGF. 2007-01-21 16:33:44 +00:00
bringert
a8ffca6ff0 Don't print compile date in SRGS XML grammars. 2007-01-19 17:05:07 +00:00
bringert
3e9d2b4a2f Use ENBF to generate SRGS. 2007-01-07 23:58:41 +00:00
bringert
a4aec2da49 Added ETag constructor to GF.Data.XML.XML since not all tags can use the empty shorthand. 2007-01-07 23:57:29 +00:00
bringert
028f2e108e Changed all SRG printer to take Options and StateGrammar arguments. This makes Custom a lot cleaner. 2007-01-05 15:38:47 +00:00
bringert
9af5b77102 Change input to the different SRG printers to be StateGrammar instead of CGrammar. This to allow looking at the types in SISR, and to reduce the number of argument passed from Custom. 2007-01-05 14:34:20 +00:00
bringert
1ded2878f2 SISR: top categories do not need the Cat_field field. 2007-01-04 20:55:13 +00:00
bringert
cb70ffadaa Use LCLR algorithm for eliminating left-recursion, with lambda terms in SISR for getting trees right. 2006-12-20 20:10:15 +00:00
bringert
5b8680b8fd Added still unused implementation of Moore's LCLR algorithm for left recursion elimination. Fixed top category generation for SRG (included LR-elimination-added categories before). 2006-12-17 19:18:28 +00:00
bringert
2b326f8041 Many fixes to JSGF format (never tested before). Implemented JSGF+SISR. Left recursion removal destroys SISR, must be fixed. 2006-12-17 13:17:17 +00:00
bringert
6d819b2c84 VoiceXML: add _cat and _field to category names, to avoid clashing with javascript built-ins. removed debugging stuff to make maintenance easier. SRGS: changed cate and field names to match the VoiceXML change. 2006-12-16 14:19:04 +00:00
bringert
160c6354c0 Towards smaller SRGs when lots of variants are used. 2006-12-15 16:09:58 +00:00
bringert
9e3500024b Use ebnf srg generation in PrSRGS. 2006-12-12 14:01:42 +00:00
bringert
ebb3382418 Moved profile stuff to GF.Speech.SRG, to allow other SRG formats to include SISR. 2006-12-12 11:59:12 +00:00
bringert
694f644fe5 SRGS generation: don't include debug script stuff if debugging is disabled. Place category comments better. 2006-12-12 10:37:45 +00:00
bringert
b859fb7a7a SRGS+SISR: put tags after items. 2006-12-11 19:41:03 +00:00
bringert
b664973cae Reinstate SISR field name for top-level categories. The VoiceXML generation relies on it. 2006-12-10 23:31:43 +00:00
bringert
8b94297b85 Added tag-format attribute to SRGS XML when using SISR. 2006-12-10 20:53:51 +00:00
bringert
0ae6351754 Use public category with original name as SRGS start cat. 2006-12-08 20:10:28 +00:00
bringert
46ca2e7b1a Changed SRGS SISR printing to be closer to the current working draft standard, as supported by the WebSphere implementation (and thus Opera). 2006-12-08 19:53:44 +00:00
bringert
d71e8b65d8 Disable special treatment of lists in SRGS+SISR generation, since OptimTalk can't handle it. 2006-05-31 19:41:05 +00:00
bringert
4d3dc4ac54 Look at both command-line and grammar startcat falgs in pg commands. 2006-04-18 12:42:20 +00:00
bringert
1738be3a75 SRGS generation: use XML module escape mechanism. Added beginnings of a not yet working SRGS minimization function. 2006-03-03 10:40:53 +00:00
bringert
07b34ff780 Moved general XML stuff to GF.Data.XML. Started working on VoiceXML generation. 2006-02-03 18:43:06 +00:00
bringert
390efcd43c SRGS: add top-level rules for each GF category. 2006-02-01 19:00:48 +00:00
bringert
333d7ba42a Include GF version and compile date in SRGS meta creator tag. 2006-02-01 18:09:47 +00:00
bringert
585e6f1554 SRGS semantic results for list categories is now an array. 2006-02-01 18:03:13 +00:00
bringert
df8b2ab6b8 First version of SRGS with semantic tags. 2006-02-01 16:23:14 +00:00
bringert
b7f64b384b Escape backslashes and double quotes in SRGS attribute values. 2006-02-01 10:24:37 +00:00
bringert
cf61a92bc8 Set xml:lang in SRGS grammars to the value of the language flag. 2006-02-01 10:16:40 +00:00
bringert
da9c8e2e1c Documented SRGS XML generation. Started working on support for probabilities in SRG generation. Added support for probabilities in for SRGS. 2005-11-01 19:09:04 +00:00
bringert
08eca90037 Added SRGS XML grammar printer. 2005-10-31 15:48:08 +00:00