Commit Graph

211 Commits

Author SHA1 Message Date
bjorn 90b2441c34 Added an FCFG output format (--output-format=fcfg). This now lives in GF.Speech.PGFToCFG, but should probably move somewhere else. 2008-09-25 08:41:49 +00:00
bjorn 0d1b2c01b9 Got SRGS ABNF generation to compile. 2008-09-23 12:56:25 +00:00
bjorn c01af6168b Re-added old PrSRGS_ABNF (does not compile yet). 2008-09-23 12:41:44 +00:00
bjorn f246747496 Completed SISR 1.0 support (untested). 2008-08-24 14:53:21 +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
meza 9f1e3e7b89 JS.cf : Changed the JS grammar to support strings as property names in objects. Changed pretty much all the files in the same folder as well as GFCCToJS.hs and SISR.hs to reflect the changes. 2008-04-29 13:05:24 +00:00
bringert 070ccd045d Added newlines and ends of some files. This makes sed happy. 2007-12-20 17:07:56 +00:00
aarne 61a9bdbe34 removed dep. on GFCCRaw 2007-12-14 09:25:18 +00:00
aarne 03589b5a3c restored CanonToGFCC as a wrapper of GFCC generation 2007-12-14 07:31:53 +00:00
aarne 095018c8e4 new GFCC concrete syntax in place everywhere 2007-12-13 20:19:47 +00:00
aarne 122546b9d6 gf works with the new gfcc format 2007-10-05 12:54:29 +00:00
bringert 731b5c4f98 CFRules tracing. 2007-06-28 01:26:09 +00:00
bringert 448e1db488 -printer=regexp handles precedence 2007-06-28 01:25:36 +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 f664497bcd Make bottomUpFilter better by also removing categories which contain no finite strings. 2007-06-27 16:27:55 +00:00
bringert 836e596189 Print SRG stats when preprocessing grammar. 2007-06-27 16:27:08 +00:00
bringert 6bd9a9faaf Use shorter lines and paragraph-filling in SRGS, JSGF and GSL printing. 2007-06-27 14:25:39 +00:00
bringert 6c074d38c6 Limit GSL/JSGF/SRGS ABNF grammar line width to 80. 2007-06-27 09:07:51 +00:00
bringert 9cf1ae6112 Fewer redundant parantheses in JSGF and SRGS ABNF. 2007-06-26 16:51:09 +00:00
bringert ee39e2c742 SRGS XML: the meta tag should use empty tag short-hand. 2007-06-26 15:20:32 +00:00
bringert 84e030d128 Oops, I had managed to remove the preprocessing step in makeSimpleRegular, which broke SLF and non-rec SRGS generation for grammars which need bottom-up filtering. 2007-06-26 15:09:48 +00:00
bringert 77920fd23a Eliminate more redundant item tags in SRGS XML. 2007-06-26 12:27:46 +00:00
bringert eb92a9bf8f Produce less verbose SRGS XML, by eliminating redundant item tags. 2007-06-26 12:19:30 +00:00
bringert b81b9b910e Implement makeNonRecursiveSRG by conversion through MFA instead of directly to RE. 2007-06-25 16:50:28 +00:00
bringert 58dc4c30eb Added srgs_abnf_non_rec. 2007-06-25 16:50:00 +00:00
bringert ca8efaf3c7 Some clean-up in finite-state network generation: MFA now keeps track of start lattice name, instead of having a wrapper lattice. Replaced MFALabel with Symbol. 2007-06-25 16:25:58 +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 23d1917b0d Removed some unused imports of GF.Speech.SRG. 2007-06-21 12:52:59 +00:00
bringert 13b8bab5fe Added regexps grammar printer. This is a first step towards recursion-free SRGS. 2007-06-20 16:08:23 +00:00
bringert 91c7b22e8c Nicer formatting of generated GSL. 2007-03-27 10:21:16 +00:00
bringert 896233c4a9 Remove all empty SLF nodes, don't care about edge explosion. Empty nodes are pprobably worse than lots of edges. 2007-03-26 17:36:58 +00:00
bringert 651697982b Use EBNF compaction for GSL. 2007-03-26 14:51:24 +00:00
bringert 94bdd1fb23 Fixed SISR bug. 2007-03-26 13:12:04 +00:00
bringert 2091df47fe commented LC_LR modification 2007-03-25 16:34:53 +00:00
bringert 4905996816 Also remove indirectly cyclic productions. 2007-03-25 16:34:35 +00:00
bringert 4a604934e9 Added srg0006: A grammar with a cycle caused by an empty production. 2007-03-25 16:11:51 +00:00
bringert d35727631c Comments only. 2007-03-25 11:26:03 +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 99af757b06 Modified the LC_LR implementation to only produce rules using A-X categories when those categories have any productions. 2007-03-24 17:30:04 +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 fe73354cc6 Do the same initial transformations as for CFGs when generating FAs: remove cycles, identical rules and down top-down and bottom-up filtering. 2007-03-20 22:00:50 +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 c2dd74f33e Moved code and comments around in TransformCFG. 2007-03-20 21:35:24 +00:00
bringert a473281c65 Renamed removeEmptyCats to bottomUpFilter. 2007-03-20 21:15:59 +00:00