1
0
forked from GitHub/gf-core
Commit Graph

4445 Commits

Author SHA1 Message Date
bringert
bb09506ece Make bottomUpFilter better by also removing categories which contain no finite strings. 2007-06-27 16:27:55 +00:00
bringert
92b1b85a1f Print SRG stats when preprocessing grammar. 2007-06-27 16:27:08 +00:00
bringert
c3c84f6574 Comment out tracing in CanonToGFCC. It produces lots of junk when generating SRGs. 2007-06-27 15:39:42 +00:00
bringert
2ff350ae59 Use shorter lines and paragraph-filling in SRGS, JSGF and GSL printing. 2007-06-27 14:25:39 +00:00
bringert
43128f80e6 Limit GSL/JSGF/SRGS ABNF grammar line width to 80. 2007-06-27 09:07:51 +00:00
bringert
3b93e0ffe2 Fewer redundant parantheses in JSGF and SRGS ABNF. 2007-06-26 16:51:09 +00:00
bringert
99ac3f8d73 SRGS XML: the meta tag should use empty tag short-hand. 2007-06-26 15:20:32 +00:00
bringert
88653403fc 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
3371605af0 Eliminate more redundant item tags in SRGS XML. 2007-06-26 12:27:46 +00:00
bringert
7eaa2af27c Produce less verbose SRGS XML, by eliminating redundant item tags. 2007-06-26 12:19:30 +00:00
bringert
22ef3cbc04 Implement makeNonRecursiveSRG by conversion through MFA instead of directly to RE. 2007-06-25 16:50:28 +00:00
bringert
eb9a6f7c73 Added srgs_abnf_non_rec. 2007-06-25 16:50:00 +00:00
bringert
b17e74bca5 Document non-recursive SRGS. 2007-06-25 16:49:36 +00:00
bringert
862c780f78 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
b086183c0f Added non-recursive SRGS printing. 2007-06-25 13:39:26 +00:00
bringert
2b63a89569 Some refactorings needed for recursion removal. 2007-06-25 13:38:40 +00:00
bringert
16bfb1250b Added makeSRG. 2007-06-21 13:40:13 +00:00
bringert
336273c534 SRG always has RE rhs. 2007-06-21 13:11:26 +00:00
bringert
bff87e513a Removed some unused imports of GF.Speech.SRG. 2007-06-21 12:52:59 +00:00
bringert
6968004f19 Added regexps grammar printer. This is a first step towards recursion-free SRGS. 2007-06-20 16:08:23 +00:00
aarne
e3f1210369 extended functor syntax 2007-06-19 18:12:35 +00:00
aarne
c212633be8 fixed the mysterious "file..gfc" error 2007-06-18 21:21:13 +00:00
aarne
6090012fa2 overloading in ParadigmsFre 2007-06-18 18:31:02 +00:00
aarne
ed5b02d4aa checking name conflicts; some RGs don't work now 2007-06-17 21:56:27 +00:00
aarne
4704c68b34 marked deprecated productions in GF.cf 2007-06-17 14:16:01 +00:00
bringert
a27643baed Added a simple cabal build system for the embedded API. 2007-06-14 16:08:38 +00:00
bringert
3edaa60988 Move some type annotations from patterns to expressions. Haskell 98 does not allow type signatures in expressions. 2007-06-14 16:02:07 +00:00
bringert
1fa928516c Added OPTIONS_GHC -fglasgow-exts to files that use GHC extensions. 2007-06-14 15:58:36 +00:00
aarne
a22871d074 initial check for unknown words in parsing 2007-06-11 07:49:30 +00:00
aarne
fb730a75b5 bug fix in Compute 2007-06-09 14:08:23 +00:00
aarne
2949a973d0 some new shortcuts in Compute; no impressive results 2007-06-08 16:55:25 +00:00
aarne
ef9174e35d pattern matching optimization; trace of fun in compilation with -v 2007-06-08 12:50:01 +00:00
aarne
06acca1f67 syntax interfaces 2007-05-31 18:46:29 +00:00
aarne
76268417db overload checking and messages; resource.txt modifs 2007-05-31 09:58:38 +00:00
aarne
035689f8c7 started direct compiler from GF to GFCC 2007-05-15 16:35:13 +00:00
aarne
8af473a6f5 param values for TInts in Canon.Look 2007-05-11 13:57:34 +00:00
aarne
97462f7e83 ids for GF rather than BNFC in AbsToBNF 2007-05-10 14:06:45 +00:00
bringert
e4ef09f6aa 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
278a0ab45d printing abs as BNF 2007-05-10 12:51:40 +00:00
aarne
5f2121e181 removed the Str/Tok distinction in CheckGrammar - obsolete anyway. 2007-05-03 13:55:34 +00:00
bringert
94d4ec728c Fixed use of -unlexer in EmbedAPI. Before, EmbedAPI.linearize ignored the flags in the grammar. 2007-04-21 16:20:02 +00:00
bringert
273dc7120f Nicer formatting of generated GSL. 2007-03-27 10:21:16 +00:00
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