Commit Graph

49 Commits

Author SHA1 Message Date
bringert
16bfb1250b Added makeSRG. 2007-06-21 13:40:13 +00:00
bringert
336273c534 SRG always has RE rhs. 2007-06-21 13:11:26 +00:00
bringert
ed1e7f4485 SRG generation: merge categories with identical set of productions. The LC_LR algorithm produces lots of those, especially when there is little inflection. 2007-03-24 23:29:38 +00:00
bringert
61456fd9ca Better debugging output when SRG generation crashes because of a missing category. 2007-03-24 17:26:21 +00:00
bringert
7ae2e01678 Remove removeIdenticalRules, since it would get rid of alternative parse results. 2007-03-20 22:09:17 +00:00
bringert
50614d399a Do top-down and bottom-up filtering together to a fixed point. 2007-03-20 21:59:36 +00:00
bringert
a8d356d599 Renamed removeEmptyCats to bottomUpFilter. 2007-03-20 21:15:59 +00:00
bringert
2230a28e21 Removed fixed FIXMEs. 2007-03-20 21:15:26 +00:00
bringert
3dacf21a41 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
169659c096 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
1b8bc71b28 Fixed bug in SRG EBNF generation. Before it assumed that all variation came from variants, and overgenerated if this was not true. 2007-01-07 23:16:32 +00:00
bringert
090bb30466 Generate more compact JSGF by converting to ENBF. 2007-01-07 20:04:39 +00:00
bringert
6ee7296f9d 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
741dde5a2a 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
bead866673 SRG: when making top-level categories, handle value categories introduced by -conversion=finite. 2007-01-03 23:14:10 +00:00
bringert
7cceec0802 Fixed (final?) two bugs in the SISR generation. 2006-12-20 22:13:56 +00:00
bringert
f9621483a0 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
c7df9f4167 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
44af93a9c9 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
215bf61115 Towards smaller SRGs when lots of variants are used. 2006-12-15 16:09:58 +00:00
bringert
0b7fef1a33 Use ebnf srg generation in PrSRGS. 2006-12-12 14:01:42 +00:00
bringert
1c8e32e641 Moved profile stuff to GF.Speech.SRG, to allow other SRG formats to include SISR. 2006-12-12 11:59:12 +00:00
bringert
a663a046ed Look at both command-line and grammar startcat falgs in pg commands. 2006-04-18 12:42:20 +00:00
bringert
dbfef31538 Removed cycles when building SRGs, to avoid getting left-recursive grammars. 2006-04-13 14:47:37 +00:00
bringert
47dedcf256 Fixed bug in SRG top-down filtering where the start category would be removed if it wasn't referenced by itself. 2006-04-13 14:18:13 +00:00
bringert
aa309abecf Added top-down filtering to the GSL printer. 2006-04-13 13:33:35 +00:00
bringert
19af3254dc Replaced all used of Data.FiniteMap with Data.Map. 2006-03-20 12:49:31 +00:00
bringert
fd0dfd7d4d First version of SRGS with semantic tags. 2006-02-01 16:23:14 +00:00
bringert
36492443e9 Set xml:lang in SRGS grammars to the value of the language flag. 2006-02-01 10:16:40 +00:00
bringert
928c84b36c 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
a01248d1c9 Removed superfluous Debug.Trace import from SRG.hs. 2005-10-26 16:14:03 +00:00
bringert
3d4200d3fe Moved Graph and Relation stuff to separate modules. Added some QuickCheck properties for Relation. Improved relation datastructure and algorithms, making FA generation much faster. 2005-10-26 16:13:13 +00:00
bringert
a8bc5590af Added Graphviz module for graphviz stuff. Move a lot of utility functions to GF.Data.Utilities. 2005-09-14 14:17:29 +00:00
bringert
ddda900d53 Completed unoptimized SLF generation. 2005-09-12 14:46:44 +00:00
bringert
982a522272 Added the prerequisits for automaton building. 2005-09-07 13:21:30 +00:00
bringert
05b5ffe5bf Added beginnings of ATK SLF generation. 2005-06-17 11:46:04 +00:00
bringert
5c9917ff8d Fixed module names and imports after giant file move. 2005-04-21 15:21:02 +00:00
peb
5207c27bff "Committed_by_peb" 2005-04-14 17:38:36 +00:00
peb
ac00f77dad "Committed_by_peb" 2005-04-11 12:57:45 +00:00
peb
ccf6017b03 "Committed_by_peb" 2005-03-21 21:40:03 +00:00
peb
96a08c9df4 "Committed_by_peb" 2005-03-21 13:17:44 +00:00
peb
aef9430eb0 "Committed_by_peb" 2005-03-21 12:54:24 +00:00
peb
dbae321c69 "Committed_by_peb" 2005-03-18 09:17:10 +00:00
peb
bf436aebaa "Committed_by_peb" 2005-02-24 10:46:37 +00:00
bringert
0137dd5511 Added export list to TransformCFG and removed obsolete headers from other speech files. 2005-02-22 12:35:19 +00:00
peb
9568d7a844 "Committed_by_peb" 2005-02-18 18:21:06 +00:00
peb
6381f3a998 "Committed_by_peb" 2005-02-04 09:10:28 +00:00
peb
4a5a48157f "Committed_by_peb" 2005-02-03 14:13:35 +00:00
bringert
f64502d4a7 Generalized Speech Recognition Grammar generation. Added JSGF grammar printer. 2004-10-01 08:43:59 +00:00