Commit Graph

  • 4490e256a8 Also remove indirectly cyclic productions. bringert 2007-03-25 16:34:35 +00:00
  • 80ea351e5e Removed srg0006, it was a duplicate of srg0002 bringert 2007-03-25 16:34:11 +00:00
  • 85072fb6b2 Added srg0006: A grammar with a cycle caused by an empty production. bringert 2007-03-25 16:11:51 +00:00
  • 4331167011 Comments only. bringert 2007-03-25 11:26:03 +00:00
  • ed1e7f4485 SRG generation: merge categories with identical set of productions. The LC_LR algorithm produces lots of those, especially when there is little inflection. bringert 2007-03-24 23:29:38 +00:00
  • 436ddd5ebf simple source language for compiler experiment aarne 2007-03-24 23:11:59 +00:00
  • 4fdc0b598a Modified the LC_LR implementation to only produce rules using A-X categories when those categories have any productions. bringert 2007-03-24 17:30:04 +00:00
  • 61456fd9ca Better debugging output when SRG generation crashes because of a missing category. bringert 2007-03-24 17:26:21 +00:00
  • 2885cfc5ac Just renaming in srg0005 bringert 2007-03-24 17:25:07 +00:00
  • eca7f691a6 Shrunk srg0005 bringert 2007-03-24 15:48:29 +00:00
  • 407b4bea9c More srg test cases. bringert 2007-03-24 15:34:33 +00:00
  • e52adbde2e Added srg0004: a simple left-recursive grammar. bringert 2007-03-24 15:13:18 +00:00
  • 45f7684de1 components aarne 2007-03-23 18:28:26 +00:00
  • 25d4b89798 gf course description aarne 2007-03-23 18:27:05 +00:00
  • 5dc92edbb0 Added srg0003: test case for indirect cycles. bringert 2007-03-23 18:13:38 +00:00
  • ccb76f5da0 Uncommented troublesome rules in srg0002 bringert 2007-03-23 18:10:21 +00:00
  • 94813f9ffb Added test case which demonstrates a bug with implicit left recusion in SRG generation. bringert 2007-03-23 18:09:22 +00:00
  • 7ae2e01678 Remove removeIdenticalRules, since it would get rid of alternative parse results. bringert 2007-03-20 22:09:17 +00:00
  • 00e681aee8 Do the same initial transformations as for CFGs when generating FAs: remove cycles, identical rules and down top-down and bottom-up filtering. bringert 2007-03-20 22:00:50 +00:00
  • 50614d399a Do top-down and bottom-up filtering together to a fixed point. bringert 2007-03-20 21:59:36 +00:00
  • fa33c22e07 Moved code and comments around in TransformCFG. bringert 2007-03-20 21:35:24 +00:00
  • a8d356d599 Renamed removeEmptyCats to bottomUpFilter. bringert 2007-03-20 21:15:59 +00:00
  • fbe8282027 Removed dead export list. bringert 2007-03-20 21:15:43 +00:00
  • 2230a28e21 Removed fixed FIXMEs. bringert 2007-03-20 21:15:26 +00:00
  • 3dacf21a41 Use makeSimpleSRG everywhere and remove makeSRG. Reimplemented top-down filtering in terms of CFRules instead of SRG. Do top-down filtering in makeSimpleSRG. bringert 2007-03-19 18:03:19 +00:00
  • 232c9cbb37 thai phrase translator aarne 2007-03-16 16:23:39 +00:00
  • f7ce8940fa ma -status; sep lines for l -all aarne 2007-03-14 12:11:18 +00:00
  • 98fcad148e bib entries aarne 2007-03-01 20:10:25 +00:00
  • 6248b4a1c7 model for resource aarne 2007-02-28 15:49:13 +00:00
  • b789031396 parsing method in EmbedAPI aarne 2007-02-28 10:37:37 +00:00
  • 016d43e26b cc output as pipable string aarne 2007-02-24 09:16:30 +00:00
  • 5264780e67 cc -table aarne 2007-02-23 16:28:06 +00:00
  • 1d803dff10 essential LP phrases, pron table aarne 2007-02-17 21:44:42 +00:00
  • d9e0521c58 VoiceXML generation: the grammar file name should be based on the concrete syntax module name rather than the abstract. bringert 2007-02-16 21:29:01 +00:00
  • 70eb2d2ace urdu aarne 2007-02-14 14:29:15 +00:00
  • b34aa07eaa catalan resource aarne 2007-02-13 15:43:36 +00:00
  • 5ec56ac60b thai word list corrections aarne 2007-02-11 22:15:37 +00:00
  • 058bf604d0 thai diphthong table aarne 2007-02-11 21:34:10 +00:00
  • a24166ac25 Handle coercion functions (_) in CFG generation for SRG. bringert 2007-01-29 12:30:49 +00:00
  • 32d94e908c Removed CFConst constructor, since it was unused. bringert 2007-01-29 12:21:15 +00:00
  • fef4d56e71 Document CFTerm constructors. bringert 2007-01-29 12:20:31 +00:00
  • 2a25794c8f produce a readable word list aarne 2007-01-25 17:49:39 +00:00
  • feef66421e No spaces after newlines in JavaScript pretty-printer. bringert 2007-01-23 16:31:44 +00:00
  • 02c5dbd04a Rename children to args in VoiceXML/SISR/JavaScript. bringert 2007-01-22 20:48:14 +00:00
  • e226a377d6 thai questions and negations aarne 2007-01-21 20:41:35 +00:00
  • abeb18fb20 Use _cat category as root in SRGS ABNF and JSGF. SRGS XML already did this. bringert 2007-01-21 17:10:10 +00:00
  • 71111e0a7c Nicer spacing and indentation in JavaScript pretty-printer. bringert 2007-01-21 17:00:15 +00:00
  • 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. bringert 2007-01-21 16:33:44 +00:00
  • b974ab06cd SRGS ABNF generation: semicolon after meta decls, no $NULL before initTag since the standard doesn't require it, and it crashes Opera, include tag-format declaration. bringert 2007-01-21 16:01:36 +00:00
  • 95d3fb5818 Added SRGS ABNF printers to HelpFile. bringert 2007-01-21 15:12:34 +00:00
  • 59a80fea3e Removed the srg value for pg -printer. Users should use pg -printer=srgs_abnf instead. bringert 2007-01-21 15:10:49 +00:00
  • 70e3891cd5 started thai resource aarne 2007-01-21 14:17:29 +00:00
  • d06cd9cf06 Removed the old srg printer, which produced SRGS ABNF. bringert 2007-01-19 17:09:20 +00:00
  • f61d7b6674 Don't print compile date in SRGS XML grammars. bringert 2007-01-19 17:05:07 +00:00
  • cae872e75a Added SRGS ABNF generation. bringert 2007-01-19 17:04:32 +00:00
  • 7e240a69c3 bibliography entries in doc aarne 2007-01-19 16:03:57 +00:00
  • aa16ddc912 VoiceXML: use block cond instead of field expr. For some reason the field expr doesn't work right in Opera. bringert 2007-01-18 17:58:40 +00:00
  • 6d19a584ea VoiceXML generation: cleaned out some old cruft. Use simpler names for variables and fields in forms. bringert 2007-01-18 17:29:44 +00:00
  • c3ec3eb465 Disable help and reprompt stuff in VoiceXML generation, to make nicer looking VoiceXML. They didn't really add much anyway, since there is no help generation yet. bringert 2007-01-18 16:50:29 +00:00
  • 6c9ddcda8b fix in etaexpand optimization aarne 2007-01-11 11:42:39 +00:00
  • 46994dec58 a slight optimization in eta expand aarne 2007-01-10 21:27:15 +00:00
  • 935594eb86 semantics of variants aarne 2007-01-10 21:03:18 +00:00
  • 0882e5eac2 thai phrasebook example started aarne 2007-01-09 14:53:19 +00:00
  • 159f6515f7 Sort rules in CFGM files by category and function. bringert 2007-01-08 17:50:24 +00:00
  • 3978840d5a some changes in Thai coding aarne 2007-01-08 17:25:37 +00:00
  • 5ac9974085 thai pronunciation better now aarne 2007-01-08 16:12:27 +00:00
  • 998c20d098 Use ENBF to generate SRGS. bringert 2007-01-07 23:58:41 +00:00
  • 118468ce16 Added ETag constructor to GF.Data.XML.XML since not all tags can use the empty shorthand. bringert 2007-01-07 23:57:29 +00:00
  • a68944ade0 Added test/ directory, and a test grammar for the SRG EBNF generation. bringert 2007-01-07 23:18:12 +00:00
  • 1b8bc71b28 Fixed bug in SRG EBNF generation. Before it assumed that all variation came from variants, and overgenerated if this was not true. bringert 2007-01-07 23:16:32 +00:00
  • d18ccbf02e thai pron heuristic (not finished) aarne 2007-01-07 22:49:55 +00:00
  • 090bb30466 Generate more compact JSGF by converting to ENBF. bringert 2007-01-07 20:04:39 +00:00
  • 7c80aca735 VoiceXML generation: catch up with children array in SISR. bringert 2007-01-07 18:31:03 +00:00
  • 2121362124 Added unused simple VoiceXML generation. It won't work in Opera because of the lack of subdialog srcexpr attribute support. bringert 2007-01-07 17:19:58 +00:00
  • 37760cb24c JavaSscript and SISR abstract syntax now uses an array for the node children, instead of cheesy argN fields. bringert 2007-01-07 17:18:50 +00:00
  • efb806f226 SISR code now type annotates meta variables directly in grammar, to avoid a separate type annotation step. bringert 2007-01-05 17:34:44 +00:00
  • 36a1998ba3 Use the GFCC type from DataGFCC when building VoiceXML. bringert 2007-01-05 17:05:31 +00:00
  • 4a5b088f78 Use GFCC to build VoiceXML. bringert 2007-01-05 16:46:50 +00:00
  • 76b852f510 VoiceXML printer no takes Options and StateGrammar, like SRG printers do. bringert 2007-01-05 15:47:53 +00:00
  • 6ee7296f9d Changed all SRG printer to take Options and StateGrammar arguments. This makes Custom a lot cleaner. bringert 2007-01-05 15:38:47 +00:00
  • 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. bringert 2007-01-05 14:34:20 +00:00
  • 2b1c6763cc Commented out callbacks stuff in VoiceXML generation. It was not the right thing to have. bringert 2007-01-04 22:40:06 +00:00
  • 2497093a5e SISR: top categories do not need the Cat_field field. bringert 2007-01-04 20:55:13 +00:00
  • bead866673 SRG: when making top-level categories, handle value categories introduced by -conversion=finite. bringert 2007-01-03 23:14:10 +00:00
  • 7577149241 SISR: constants from conversion=finite now produce abstract syntax nodes instead of strings. bringert 2007-01-03 22:57:20 +00:00
  • bf8b078a7a Updated another reference to "Regular approximation of CFLs: a grammatical view" bringert 2007-01-03 18:28:25 +00:00
  • 8aa283aebd VoiceXML: when checking the callbacks, use typeof to avoid errors with Opera 9.10. bringert 2007-01-03 18:17:52 +00:00
  • b1cde222bf Updated reference to regular -> FA conversion. bringert 2007-01-03 18:17:32 +00:00
  • 475d535651 Use printname to make VoiceXML prompts. bringert 2006-12-28 17:12:40 +00:00
  • c70fa0831e simplify GFCC syntax kr_angelov 2006-12-28 16:35:16 +00:00
  • 61ae1920b3 Include startcat in generated JavaScript. bringert 2007-09-19 08:58:39 +00:00
  • 1bf0acb2be bud fix in reading gfc without gfr aarne 2007-09-17 06:58:41 +00:00
  • 4d2992d69f strict reading of files; bug fix in readFiles in ShellState aarne 2007-09-16 20:52:27 +00:00
  • 3a9d7c11f7 chmod in lib/resource-1.0 is now called by all targets that use mkPresent. This is needed to make make all in src work. bringert 2007-09-13 08:56:51 +00:00
  • 893427b0f2 make (all) in src now compiles the resource grammars. bringert 2007-09-13 08:27:48 +00:00
  • e902ce7f71 chmod mkPresent in make all in lib/resource-1.0 bringert 2007-09-13 08:25:46 +00:00
  • 9b5d2fb923 last adjustments of examples before course aarne 2007-09-12 21:03:00 +00:00
  • 6b9e37a39e afternoon quarter past aarne 2007-09-12 18:04:03 +00:00
  • 53ee7b56fb 70h to 70min aarne 2007-09-12 12:09:40 +00:00
  • 9d9ddfea68 course time plan aarne 2007-09-12 12:05:19 +00:00