1
0
forked from GitHub/gf-core
Commit Graph

63 Commits

Author SHA1 Message Date
bjorn
d80c71f688 Changed SRG category renaming to use GF cat + index among CFG cats for that GF cat, instead of the old Concrete syntax name + index among all CFG cats. 2008-09-26 09:39:48 +00:00
bjorn
c588e8ca2b Oops, I accidentally disabled all CFG simplification and LR-removal with the ENBF printing patch. 2008-09-26 09:39:04 +00:00
bjorn
824d72bf16 Added --output-format=ebnf. 2008-09-26 09:20:39 +00:00
bjorn
0d1b2c01b9 Got SRGS ABNF generation to compile. 2008-09-23 12:56:25 +00:00
aarne
c5c6d13546 changed names of resource-1.3; added a note on homepage on release 2008-06-25 16:54:35 +00:00
aarne
7d721eb16e removed src for 2.9 2008-06-25 16:43:48 +00:00
bringert
070ccd045d Added newlines and ends of some files. This makes sed happy. 2007-12-20 17:07:56 +00:00
bringert
731b5c4f98 CFRules tracing. 2007-06-28 01:26:09 +00:00
bringert
f2710ba80d bottom-up and top-down filtering do not need fix point iteration. 2007-06-27 17:46:34 +00:00
bringert
674424c252 Refactor TransformCFG: use Map for CFRules. 2007-06-27 17:22:59 +00:00
bringert
836e596189 Print SRG stats when preprocessing grammar. 2007-06-27 16:27:08 +00:00
bringert
b81b9b910e Implement makeNonRecursiveSRG by conversion through MFA instead of directly to RE. 2007-06-25 16:50:28 +00:00
bringert
e967e040f9 Added non-recursive SRGS printing. 2007-06-25 13:39:26 +00:00
bringert
815cc5a7eb Some refactorings needed for recursion removal. 2007-06-25 13:38:40 +00:00
bringert
8cdbaa39f7 Added makeSRG. 2007-06-21 13:40:13 +00:00
bringert
4d28e6ec1c SRG always has RE rhs. 2007-06-21 13:11:26 +00:00
bringert
8a435873f2 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
0058f6281f Better debugging output when SRG generation crashes because of a missing category. 2007-03-24 17:26:21 +00:00
bringert
0eac3f6b58 Remove removeIdenticalRules, since it would get rid of alternative parse results. 2007-03-20 22:09:17 +00:00
bringert
4d369e096f Do top-down and bottom-up filtering together to a fixed point. 2007-03-20 21:59:36 +00:00
bringert
a473281c65 Renamed removeEmptyCats to bottomUpFilter. 2007-03-20 21:15:59 +00:00
bringert
0300c35d87 Removed fixed FIXMEs. 2007-03-20 21:15: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
1f3cb2546a 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
476080e6db Generate more compact JSGF by converting to ENBF. 2007-01-07 20:04:39 +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
73b0f72d2b SRG: when making top-level categories, handle value categories introduced by -conversion=finite. 2007-01-03 23:14:10 +00:00
bringert
5455046dd8 Fixed (final?) two bugs in the SISR generation. 2006-12-20 22:13:56 +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
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
4d3dc4ac54 Look at both command-line and grammar startcat falgs in pg commands. 2006-04-18 12:42:20 +00:00
bringert
c47da3d351 Removed cycles when building SRGs, to avoid getting left-recursive grammars. 2006-04-13 14:47:37 +00:00
bringert
256b593ae5 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
4609965d71 Added top-down filtering to the GSL printer. 2006-04-13 13:33:35 +00:00
bringert
04300a9e0d Replaced all used of Data.FiniteMap with Data.Map. 2006-03-20 12:49:31 +00:00
bringert
df8b2ab6b8 First version of SRGS with semantic tags. 2006-02-01 16:23:14 +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
7d2bcd88ad Removed superfluous Debug.Trace import from SRG.hs. 2005-10-26 16:14:03 +00:00
bringert
b7609f09a5 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
ac8ef799de 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
8c616b8113 Completed unoptimized SLF generation. 2005-09-12 14:46:44 +00:00
bringert
a134b2b6f8 Added the prerequisits for automaton building. 2005-09-07 13:21:30 +00:00
bringert
6220d484a8 Added beginnings of ATK SLF generation. 2005-06-17 11:46:04 +00:00