Commit Graph

1063 Commits

Author SHA1 Message Date
aarne
b24ecdfcba syntax interfaces 2007-05-31 18:46:29 +00:00
aarne
d01dfff9d3 overload checking and messages; resource.txt modifs 2007-05-31 09:58:38 +00:00
aarne
1317c89fd4 started direct compiler from GF to GFCC 2007-05-15 16:35:13 +00:00
aarne
f40b784f16 param values for TInts in Canon.Look 2007-05-11 13:57:34 +00:00
aarne
283cf9900a ids for GF rather than BNFC in AbsToBNF 2007-05-10 14:06:45 +00:00
bringert
94531fac8a Added haskell_gadt -printer. It does not include a Compos instance yet, so it's not terribly useful. 2007-05-10 13:56:41 +00:00
aarne
6254f61d65 printing abs as BNF 2007-05-10 12:51:40 +00:00
aarne
0b4017bd50 removed the Str/Tok distinction in CheckGrammar - obsolete anyway. 2007-05-03 13:55:34 +00:00
bringert
aab4187aa8 Fixed use of -unlexer in EmbedAPI. Before, EmbedAPI.linearize ignored the flags in the grammar. 2007-04-21 16:20:02 +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
bringert
e31ccc4567 Removed dead export list. 2007-03-20 21:15:43 +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
aarne
7f1999f97d thai phrase translator 2007-03-16 16:23:39 +00:00
aarne
0e28aef3b5 ma -status; sep lines for l -all 2007-03-14 12:11:18 +00:00
aarne
e03c2cb4ad parsing method in EmbedAPI 2007-02-28 10:37:37 +00:00
aarne
5c7bd4c5c7 cc output as pipable string 2007-02-24 09:16:30 +00:00
aarne
67470b29cc cc -table 2007-02-23 16:28:06 +00:00
aarne
10bd5b02ea essential LP phrases, pron table 2007-02-17 21:44:42 +00:00
bringert
6c3870c96b VoiceXML generation: the grammar file name should be based on the concrete syntax module name rather than the abstract. 2007-02-16 21:29:01 +00:00
aarne
d5b8c4d6c6 thai word list corrections 2007-02-11 22:15:37 +00:00
aarne
f204abaf15 thai diphthong table 2007-02-11 21:34:10 +00:00
bringert
6bed1fed96 Handle coercion functions (_) in CFG generation for SRG. 2007-01-29 12:30:49 +00:00
bringert
301d268141 Removed CFConst constructor, since it was unused. 2007-01-29 12:21:15 +00:00
bringert
f56b617f5a Document CFTerm constructors. 2007-01-29 12:20:31 +00:00
aarne
21ad6f214c produce a readable word list 2007-01-25 17:49:39 +00:00
bringert
780d0b2c42 No spaces after newlines in JavaScript pretty-printer. 2007-01-23 16:31:44 +00:00
bringert
979a54af35 Rename children to args in VoiceXML/SISR/JavaScript. 2007-01-22 20:48:14 +00:00
aarne
edbfc31000 thai questions and negations 2007-01-21 20:41:35 +00:00
bringert
b768aa780f Use _cat category as root in SRGS ABNF and JSGF. SRGS XML already did this. 2007-01-21 17:10:10 +00:00
bringert
a9dfb0e477 Nicer spacing and indentation in JavaScript pretty-printer. 2007-01-21 17:00:15 +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
2fcafc2022 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. 2007-01-21 16:01:36 +00:00
bringert
d40e559e04 Added SRGS ABNF printers to HelpFile. 2007-01-21 15:12:34 +00:00
bringert
855cc16112 Removed the srg value for pg -printer. Users should use pg -printer=srgs_abnf instead. 2007-01-21 15:10:49 +00:00