Commit Graph
100 Commits
Author SHA1 Message Date
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 92db9f7268 Document non-recursive SRGS. 2007-06-25 16:49:36 +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 a029232eef Added language flags to bronzeage grammars. 2007-06-20 12:22:28 +00:00
bringert 5c5c8d81c9 Added a simple cabal build system for the embedded API. 2007-06-14 16:08:38 +00:00
bringert 630cf47eeb 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 48081dc340 Added OPTIONS_GHC -fglasgow-exts to files that use GHC extensions. 2007-06-14 15:58:36 +00:00
bringert e857cdf485 Added n : Number field to German Numeral and Num. 2007-05-11 16:07:03 +00:00
bringert e426957777 Use prepV2 instead of mkV2 in LexiconGer. 2007-05-11 15:43:14 +00:00
bringert 738ca3dc25 Overloaded German mkV2. 2007-05-11 15:42:47 +00:00
bringert e6e9098085 ParadigmsEng: reflV and partV shouldn't be in mkV. 2007-05-11 15:31:19 +00:00
bringert adfed6ba8e Use mk3A in LexiconGer. 2007-05-11 15:05:12 +00:00
bringert 056689fa9c Overloaded German mkA. 2007-05-11 15:04:59 +00:00
bringert f99c518621 Use mk6N in German lexicon. 2007-05-11 14:36:29 +00:00
bringert 41fb10fb18 Overloaded German mkN. 2007-05-11 14:36:14 +00:00
bringert 7f9fe8b2fd Use non-overloaded mk6V in german lexica. 2007-05-11 14:29:50 +00:00
bringert bd9bee5887 Overloaded mkV for German. 2007-05-11 14:29:28 +00:00
bringert af5ca3540e Added versions of mkV for regular and irregular verbs with consonant duplication to ParadigmsEng. 2007-05-11 14:15:37 +00:00
bringert 8438ba16de Added n : Number field to the Num category for English. 2007-05-11 13:38:54 +00:00
bringert fa02a747e0 Use non-overloaded versions of mkV and mkV2 in IrregEng and LexiconEng. 2007-05-11 13:36:16 +00:00
bringert 40983768d9 Fixed < > encoding in int parameter example in gf-history. 2007-05-11 13:35:43 +00:00
bringert f870073e77 Overloaded mkA, mkV and mkV2 in ParadigmsEng. Not all paradigms could be included, because of type conflicts, e.g. with the dupl* forms. 2007-05-11 12:48:39 +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
bringert d33016fae7 updated gfdoc 2007-05-09 16:01:06 +00:00
bringert 3c394ab362 Added mkUtt : Cl -> Utt 2007-05-09 15:59:18 +00:00
bringert b2b085da47 Fixed examples for anteriority in Constructors 2007-05-09 15:50:35 +00:00
bringert 54ac9991f3 Updated gfdoc. 2007-05-07 14:13:33 +00:00
bringert 5c602cd69d Added mkDet : Int -> Det, and mkNP variants which take Num, Int and Digit. 2007-05-07 14:05:13 +00:00
bringert 1eca0da869 Added gflib-xhtml-voice.js which contains some XHTML+Voice functions. 2007-04-21 21:46:48 +00:00
bringert a437eccd64 Updated gfdoc. 2007-04-21 18:30:43 +00:00
bringert 61368047cc Added mkCl : NP -> V -> Cl and mkCl : NP -> V2 -> NP -> Cl. 2007-04-21 18:30:12 +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 7f76f013c9 Updated gfdoc for resource API 2007-04-21 15:52:16 +00:00
bringert b3b7e9a8f7 Added mkText : Cl -> Text 2007-04-21 14:57:17 +00:00
bringert 531119dad5 Updated gfdoc. 2007-04-21 11:02:52 +00:00
bringert c172625af1 Added mkCN variants that take A. 2007-04-21 10:44:02 +00:00
bringert 9d092898cd Added some mkCl variants with adjective predication. 2007-04-21 10:32:13 +00:00
bringert f717bc4553 Updated gfdoc 2007-04-21 10:24:36 +00:00
bringert 69ac75b0a8 Constructors: added mkCl : NP -> A -> Cl 2007-04-21 10:23:32 +00:00
bringert 0b03eda417 Updated gfdoc. 2007-04-21 10:03:22 +00:00
bringert 1bcf531b14 Constructors: added more variants of mkText. 2007-04-21 10:02:49 +00:00
bringert 93f7a3190c Constructors: added more variants of mkS : ... -> Cl -> S 2007-04-21 09:52:09 +00:00
bringert ea0500e61d Updated resource gfdoc. 2007-04-21 09:39:36 +00:00
bringert 6633024433 Added overloaded negation to Combinators. 2007-04-21 09:38:52 +00:00
bringert eedd5a5ad0 Regenerated gfdoc 2007-04-20 22:56:11 +00:00
bringert aa8dbcea8a Added mkText : Phr -> Text 2007-04-20 22:55:55 +00:00
bringert 59ccc22409 Added some more versions of mkQS and mkCl. 2007-04-20 22:31:10 +00:00
bringert ba789d6fe7 Added missing doc/gfdoc/Lexicon.html 2007-04-20 21:53:46 +00:00
bringert 8150faa640 Fixed link to Symbolic docs. 2007-04-19 21:35:37 +00:00
bringert f67c379f4a Updated gfdoc for resource-1.0 2007-04-19 21:27:01 +00:00
bringert afa4681458 Added some determiners to Constructors. 2007-04-19 21:26:19 +00:00
bringert a609e26185 Updated resource api docs 2007-04-19 21:08:28 +00:00
bringert 90393455a7 Added versions of mkCn that take N instead of CN arguments. 2007-04-19 21:07:37 +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 b1919ca62f Added directly cyclic SRG test case. 2007-03-25 16:44:30 +00:00
bringert f9ad1dfe2d Give SRG test cases human-readable names. 2007-03-25 16:42:52 +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 935b60f977 Removed srg0006, it was a duplicate of srg0002 2007-03-25 16:34:11 +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 62854384e6 Just renaming in srg0005 2007-03-24 17:25:07 +00:00
bringert 5c5f63a48d Shrunk srg0005 2007-03-24 15:48:29 +00:00
bringert 2d713e78a5 More srg test cases. 2007-03-24 15:34:33 +00:00
bringert 7095f7aa19 Added srg0004: a simple left-recursive grammar. 2007-03-24 15:13:18 +00:00
bringert cd6d10d90b Added srg0003: test case for indirect cycles. 2007-03-23 18:13:38 +00:00
bringert 10dbc3c652 Uncommented troublesome rules in srg0002 2007-03-23 18:10:21 +00:00
bringert 289ee4869e Added test case which demonstrates a bug with implicit left recusion in SRG generation. 2007-03-23 18:09:22 +00:00
bringert 082b3575f8 Updated resource api doc 2007-03-22 14:38:32 +00:00
bringert 6b2a890410 Added mkDet : Digit -> Det 2007-03-22 14:36:52 +00:00
bringert 85cf5ecf21 Regenerated resource api docs. 2007-03-22 14:30:53 +00:00
bringert 1a37e4f0fe Overaloed resource API: added mod combinators for Det -> N -> NP and Det -> CN -> NP 2007-03-22 14:29:45 +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
bringert d8cf83d98f Added a simple unlexer in the JavaScript library. 2007-02-20 12:54:12 +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