summaryrefslogtreecommitdiff
path: root/src/GF/Speech/SRG.hs
AgeCommit message (Collapse)Author
2009-12-13reorganize the directories under src, and rescue the JavaScript interpreter ↵krasimir
from deprecated
2009-09-11polish the PGF API and make Expr and Type abstract types. Tree is a type ↵krasimir
synonym of Expr
2009-03-13remove the obsolete GF.Infra.PrintClasskrasimir
2008-11-27Move Graph, Relation and Graphviz modules from GF.Speech to GF.Data.bjorn
2008-11-09SRG generation: renameCats now gives new names to all cates used in the ↵bjorn
grammar, on RHS or LHS. This avoids a crash in non-recursive SRGS generation. The crash happend becase the bottom-up filter has not yet been done when renameCats is called.
2008-09-30Added --cfg option for specifying which CFG transformations to use. Added ↵bjorn
startcatonly CFG trasnformation. Removed output formats that are now easily done with --cfg: "regular", "nolr".
2008-09-30Use filtering in regular printer.bjorn
2008-09-30SRG conversion: print CFG when a unknown cat is found in renameCats. Do ↵bjorn
filtering in ebnf printer.
2008-09-26Added semantic interpretation tag printing to the *bnf grammar printers.bjorn
2008-09-26Use ebnf format for "regular" output-format.bjorn
2008-09-26Changed nolr printer to use EBNF format.bjorn
2008-09-26ebnf printer: print external cats first.bjorn
2008-09-26bnf and ebnf printer: align ::= symbols.bjorn
2008-09-26SRG category renaming: don't count the external cats when calculating indices.bjorn
2008-09-26Changed SRG category renaming to use GF cat + index among CFG cats for that ↵bjorn
GF cat, instead of the old Concrete syntax name + index among all CFG cats.
2008-09-26Oops, I accidentally disabled all CFG simplification and LR-removal with the ↵bjorn
ENBF printing patch.
2008-09-26Added --output-format=ebnf.bjorn
2008-09-23Got SRGS ABNF generation to compile.bjorn
2008-06-25changed names of resource-1.3; added a note on homepage on releaseaarne
2008-06-25removed src for 2.9aarne
2007-12-20Added newlines and ends of some files. This makes sed happy.bringert
2007-06-28CFRules tracing.bringert
2007-06-27bottom-up and top-down filtering do not need fix point iteration.bringert
2007-06-27Refactor TransformCFG: use Map for CFRules.bringert
2007-06-27Print SRG stats when preprocessing grammar.bringert
2007-06-25Implement makeNonRecursiveSRG by conversion through MFA instead of directly ↵bringert
to RE.
2007-06-25Added non-recursive SRGS printing.bringert
2007-06-25Some refactorings needed for recursion removal.bringert
2007-06-21Added makeSRG.bringert
2007-06-21SRG always has RE rhs.bringert
2007-03-24SRG generation: merge categories with identical set of productions. The ↵bringert
LC_LR algorithm produces lots of those, especially when there is little inflection.
2007-03-24Better debugging output when SRG generation crashes because of a missing ↵bringert
category.
2007-03-20Remove removeIdenticalRules, since it would get rid of alternative parse ↵bringert
results.
2007-03-20Do top-down and bottom-up filtering together to a fixed point.bringert
2007-03-20Renamed removeEmptyCats to bottomUpFilter.bringert
2007-03-20Removed fixed FIXMEs.bringert
2007-03-19Use makeSimpleSRG everywhere and remove makeSRG. Reimplemented top-down ↵bringert
filtering in terms of CFRules instead of SRG. Do top-down filtering in makeSimpleSRG.
2007-01-21Get speechLanguage flag from both command-line and grammar. Reformat it to ↵bringert
RFC3066 format (- instead of _) and use it in SRGS, VoiceXML and JSGF.
2007-01-07Fixed bug in SRG EBNF generation. Before it assumed that all variation came ↵bringert
from variants, and overgenerated if this was not true.
2007-01-07Generate more compact JSGF by converting to ENBF.bringert
2007-01-05Changed all SRG printer to take Options and StateGrammar arguments. This ↵bringert
makes Custom a lot cleaner.
2007-01-05Change input to the different SRG printers to be StateGrammar instead of ↵bringert
CGrammar. This to allow looking at the types in SISR, and to reduce the number of argument passed from Custom.
2007-01-03SRG: when making top-level categories, handle value categories introduced by ↵bringert
-conversion=finite.
2006-12-20Fixed (final?) two bugs in the SISR generation.bringert
2006-12-20Use LCLR algorithm for eliminating left-recursion, with lambda terms in SISR ↵bringert
for getting trees right.
2006-12-17Added still unused implementation of Moore's LCLR algorithm for left ↵bringert
recursion elimination. Fixed top category generation for SRG (included LR-elimination-added categories before).
2006-12-17Many fixes to JSGF format (never tested before). Implemented JSGF+SISR. Left ↵bringert
recursion removal destroys SISR, must be fixed.
2006-12-15Towards smaller SRGs when lots of variants are used.bringert
2006-12-12Use ebnf srg generation in PrSRGS.bringert
2006-12-12Moved profile stuff to GF.Speech.SRG, to allow other SRG formats to include ↵bringert
SISR.