bjorn
|
14373feb3a
|
Added --cfg option for specifying which CFG transformations to use. Added startcatonly CFG trasnformation. Removed output formats that are now easily done with --cfg: "regular", "nolr".
|
2008-09-30 11:52:11 +00:00 |
|
bjorn
|
3ad9d12c81
|
Use filtering in regular printer.
|
2008-09-30 09:39:09 +00:00 |
|
bjorn
|
e1d90c00b9
|
SRG conversion: print CFG when a unknown cat is found in renameCats. Do filtering in ebnf printer.
|
2008-09-30 09:32:16 +00:00 |
|
bjorn
|
8fe2a1cc59
|
Added semantic interpretation tag printing to the *bnf grammar printers.
|
2008-09-26 12:57:20 +00:00 |
|
bjorn
|
b64d25b3be
|
Use ebnf format for "regular" output-format.
|
2008-09-26 10:20:18 +00:00 |
|
bjorn
|
a84849bee2
|
Changed nolr printer to use EBNF format.
|
2008-09-26 10:03:42 +00:00 |
|
bjorn
|
9010afef50
|
ebnf printer: print external cats first.
|
2008-09-26 09:58:57 +00:00 |
|
bjorn
|
d54ba6f112
|
bnf and ebnf printer: align ::= symbols.
|
2008-09-26 09:54:09 +00:00 |
|
bjorn
|
93e9d60765
|
SRG category renaming: don't count the external cats when calculating indices.
|
2008-09-26 09:44:02 +00:00 |
|
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 |
|