1
0
forked from GitHub/gf-core
Commit Graph

1130 Commits

Author SHA1 Message Date
bringert
5abf240a98 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
3797cfd11e Use EBNF compaction for GSL. 2007-03-26 14:51:24 +00:00
bringert
5faf418f4e Fixed SISR bug. 2007-03-26 13:12:04 +00:00
bringert
de0ca9f533 commented LC_LR modification 2007-03-25 16:34:53 +00:00
bringert
4490e256a8 Also remove indirectly cyclic productions. 2007-03-25 16:34:35 +00:00
bringert
85072fb6b2 Added srg0006: A grammar with a cycle caused by an empty production. 2007-03-25 16:11:51 +00:00
bringert
4331167011 Comments only. 2007-03-25 11:26:03 +00:00
bringert
ed1e7f4485 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
4fdc0b598a 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
61456fd9ca Better debugging output when SRG generation crashes because of a missing category. 2007-03-24 17:26:21 +00:00
bringert
7ae2e01678 Remove removeIdenticalRules, since it would get rid of alternative parse results. 2007-03-20 22:09:17 +00:00
bringert
00e681aee8 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
50614d399a Do top-down and bottom-up filtering together to a fixed point. 2007-03-20 21:59:36 +00:00
bringert
fa33c22e07 Moved code and comments around in TransformCFG. 2007-03-20 21:35:24 +00:00
bringert
a8d356d599 Renamed removeEmptyCats to bottomUpFilter. 2007-03-20 21:15:59 +00:00
bringert
fbe8282027 Removed dead export list. 2007-03-20 21:15:43 +00:00
bringert
2230a28e21 Removed fixed FIXMEs. 2007-03-20 21:15:26 +00:00
bringert
3dacf21a41 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
232c9cbb37 thai phrase translator 2007-03-16 16:23:39 +00:00
aarne
f7ce8940fa ma -status; sep lines for l -all 2007-03-14 12:11:18 +00:00
aarne
b789031396 parsing method in EmbedAPI 2007-02-28 10:37:37 +00:00
aarne
016d43e26b cc output as pipable string 2007-02-24 09:16:30 +00:00
aarne
5264780e67 cc -table 2007-02-23 16:28:06 +00:00
aarne
1d803dff10 essential LP phrases, pron table 2007-02-17 21:44:42 +00:00
bringert
d9e0521c58 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
5ec56ac60b thai word list corrections 2007-02-11 22:15:37 +00:00
aarne
058bf604d0 thai diphthong table 2007-02-11 21:34:10 +00:00
bringert
a24166ac25 Handle coercion functions (_) in CFG generation for SRG. 2007-01-29 12:30:49 +00:00
bringert
32d94e908c Removed CFConst constructor, since it was unused. 2007-01-29 12:21:15 +00:00
bringert
fef4d56e71 Document CFTerm constructors. 2007-01-29 12:20:31 +00:00
aarne
2a25794c8f produce a readable word list 2007-01-25 17:49:39 +00:00
bringert
feef66421e No spaces after newlines in JavaScript pretty-printer. 2007-01-23 16:31:44 +00:00
bringert
02c5dbd04a Rename children to args in VoiceXML/SISR/JavaScript. 2007-01-22 20:48:14 +00:00
aarne
e226a377d6 thai questions and negations 2007-01-21 20:41:35 +00:00
bringert
abeb18fb20 Use _cat category as root in SRGS ABNF and JSGF. SRGS XML already did this. 2007-01-21 17:10:10 +00:00
bringert
71111e0a7c Nicer spacing and indentation in JavaScript pretty-printer. 2007-01-21 17:00:15 +00:00
bringert
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. 2007-01-21 16:33:44 +00:00
bringert
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. 2007-01-21 16:01:36 +00:00
bringert
95d3fb5818 Added SRGS ABNF printers to HelpFile. 2007-01-21 15:12:34 +00:00
bringert
59a80fea3e Removed the srg value for pg -printer. Users should use pg -printer=srgs_abnf instead. 2007-01-21 15:10:49 +00:00
aarne
70e3891cd5 started thai resource 2007-01-21 14:17:29 +00:00
bringert
d06cd9cf06 Removed the old srg printer, which produced SRGS ABNF. 2007-01-19 17:09:20 +00:00
bringert
f61d7b6674 Don't print compile date in SRGS XML grammars. 2007-01-19 17:05:07 +00:00
bringert
cae872e75a Added SRGS ABNF generation. 2007-01-19 17:04:32 +00:00
bringert
aa16ddc912 VoiceXML: use block cond instead of field expr. For some reason the field expr doesn't work right in Opera. 2007-01-18 17:58:40 +00:00
bringert
6d19a584ea VoiceXML generation: cleaned out some old cruft. Use simpler names for variables and fields in forms. 2007-01-18 17:29:44 +00:00
bringert
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. 2007-01-18 16:50:29 +00:00
aarne
6c9ddcda8b fix in etaexpand optimization 2007-01-11 11:42:39 +00:00
aarne
46994dec58 a slight optimization in eta expand 2007-01-10 21:27:15 +00:00
aarne
935594eb86 semantics of variants 2007-01-10 21:03:18 +00:00