Commit Graph
100 Commits
Author SHA1 Message Date
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
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
bringert 159f6515f7 Sort rules in CFGM files by category and function. 2007-01-08 17:50:24 +00:00
bringert 998c20d098 Use ENBF to generate SRGS. 2007-01-07 23:58:41 +00:00
bringert 118468ce16 Added ETag constructor to GF.Data.XML.XML since not all tags can use the empty shorthand. 2007-01-07 23:57:29 +00:00
bringert a68944ade0 Added test/ directory, and a test grammar for the SRG EBNF generation. 2007-01-07 23:18:12 +00:00
bringert 1b8bc71b28 Fixed bug in SRG EBNF generation. Before it assumed that all variation came from variants, and overgenerated if this was not true. 2007-01-07 23:16:32 +00:00
bringert 090bb30466 Generate more compact JSGF by converting to ENBF. 2007-01-07 20:04:39 +00:00
bringert 7c80aca735 VoiceXML generation: catch up with children array in SISR. 2007-01-07 18:31:03 +00:00
bringert 2121362124 Added unused simple VoiceXML generation. It won't work in Opera because of the lack of subdialog srcexpr attribute support. 2007-01-07 17:19:58 +00:00
bringert 37760cb24c JavaSscript and SISR abstract syntax now uses an array for the node children, instead of cheesy argN fields. 2007-01-07 17:18:50 +00:00
bringert efb806f226 SISR code now type annotates meta variables directly in grammar, to avoid a separate type annotation step. 2007-01-05 17:34:44 +00:00
bringert 36a1998ba3 Use the GFCC type from DataGFCC when building VoiceXML. 2007-01-05 17:05:31 +00:00
bringert 4a5b088f78 Use GFCC to build VoiceXML. 2007-01-05 16:46:50 +00:00
bringert 76b852f510 VoiceXML printer no takes Options and StateGrammar, like SRG printers do. 2007-01-05 15:47:53 +00:00
bringert 6ee7296f9d Changed all SRG printer to take Options and StateGrammar arguments. This makes Custom a lot cleaner. 2007-01-05 15:38:47 +00:00
bringert 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. 2007-01-05 14:34:20 +00:00
bringert 2b1c6763cc Commented out callbacks stuff in VoiceXML generation. It was not the right thing to have. 2007-01-04 22:40:06 +00:00
bringert 2497093a5e SISR: top categories do not need the Cat_field field. 2007-01-04 20:55:13 +00:00
bringert bead866673 SRG: when making top-level categories, handle value categories introduced by -conversion=finite. 2007-01-03 23:14:10 +00:00
bringert 7577149241 SISR: constants from conversion=finite now produce abstract syntax nodes instead of strings. 2007-01-03 22:57:20 +00:00
bringert bf8b078a7a Updated another reference to "Regular approximation of CFLs: a grammatical view" 2007-01-03 18:28:25 +00:00
bringert 8aa283aebd VoiceXML: when checking the callbacks, use typeof to avoid errors with Opera 9.10. 2007-01-03 18:17:52 +00:00
bringert b1cde222bf Updated reference to regular -> FA conversion. 2007-01-03 18:17:32 +00:00
bringert 475d535651 Use printname to make VoiceXML prompts. 2006-12-28 17:12:40 +00:00
bringert 7abd4c00a2 Added gfcc2c to GF repo. 2006-12-22 13:43:32 +00:00
bringert a335b29c0a Meta variables are now treated as functions with name ? in SISR, VoiceXML and JavaScript linearization. VoiceXML now returns the partial result when update() is false. 2006-12-21 16:48:46 +00:00
bringert 51df5b8a8d Added voicexml,javascript,jsgf+sisr to gf-history and helpfile. 2006-12-21 15:00:30 +00:00
bringert 15fd1d590a Generate JavaScript type annotator. Use lindef in JavaScript. 2006-12-21 00:01:45 +00:00
bringert 7cceec0802 Fixed (final?) two bugs in the SISR generation. 2006-12-20 22:13:56 +00:00
bringert 514a8d6afa More JSGF pretty-printing. 2006-12-20 21:50:16 +00:00
bringert 642809fd3b JSGF pretty printing tweaks. 2006-12-20 21:43:41 +00:00
bringert f07b0ef88e Use HughesPJ pretty printer to make JSGF output look nicer. 2006-12-20 21:39:25 +00:00
bringert 0353b7b7cb Make smaller SISR code for tokens. 2006-12-20 20:22:08 +00:00
bringert e74d10952e Removed tracing from PrJSGF. 2006-12-20 20:14:46 +00:00
bringert f9621483a0 Use LCLR algorithm for eliminating left-recursion, with lambda terms in SISR for getting trees right. 2006-12-20 20:10:15 +00:00
bringert c7df9f4167 Added still unused implementation of Moore's LCLR algorithm for left recursion elimination. Fixed top category generation for SRG (included LR-elimination-added categories before). 2006-12-17 19:18:28 +00:00
bringert 4e592d495e Use [] in JSGF printing. 2006-12-17 18:16:20 +00:00
bringert f252bb6090 Some clean-up in GF/Speech/TransformCFG.hs 2006-12-17 13:29:12 +00:00
bringert 44af93a9c9 Many fixes to JSGF format (never tested before). Implemented JSGF+SISR. Left recursion removal destroys SISR, must be fixed. 2006-12-17 13:17:17 +00:00
bringert bd4dbfb26b VoiceXML: add _cat and _field to category names, to avoid clashing with javascript built-ins. removed debugging stuff to make maintenance easier. SRGS: changed cate and field names to match the VoiceXML change. 2006-12-16 14:19:04 +00:00
bringert 215bf61115 Towards smaller SRGs when lots of variants are used. 2006-12-15 16:09:58 +00:00
bringert 1e1401472f Include update function in generated VoiceXML. Generated linearization javaScript now uses the same abstract syntax representation as SISR. 2006-12-15 16:08:39 +00:00
bringert 1f1be57279 Added NOINLINE pragma to Today.hs, to avoid forcing recompilation of modules that depend on GF.Today. 2006-12-15 14:06:42 +00:00
bringert 0b7fef1a33 Use ebnf srg generation in PrSRGS. 2006-12-12 14:01:42 +00:00
bringert 1c8e32e641 Moved profile stuff to GF.Speech.SRG, to allow other SRG formats to include SISR. 2006-12-12 11:59:12 +00:00
bringert 87b66d5205 SRGS generation: don't include debug script stuff if debugging is disabled. Place category comments better. 2006-12-12 10:37:45 +00:00
bringert c07300b86b SRGS+SISR: put tags after items. 2006-12-11 19:41:03 +00:00
bringert e86aa2deb6 VoiceXML: set xml:lang (value is still fake though) 2006-12-11 16:08:15 +00:00
bringert ce62977188 VoiceXML: print without debugging stuff by default. 2006-12-11 15:20:26 +00:00
bringert c34c26a837 VoiceXML: don't use srcexpr in subdialogs, since Opera does not support that. Also makes fewer subdialogs nows. 2006-12-11 14:47:00 +00:00
bringert 0dc19c3139 VoiceXML: don't use subdialog srcexpr for statically know subdialogs. 2006-12-10 23:32:30 +00:00
bringert c0db56422b Reinstate SISR field name for top-level categories. The VoiceXML generation relies on it. 2006-12-10 23:31:43 +00:00
bringert 51ed253c75 Added tag-format attribute to SRGS XML when using SISR. 2006-12-10 20:53:51 +00:00
bringert 7e8d0e49b2 Use public category with original name as SRGS start cat. 2006-12-08 20:10:28 +00:00
bringert a4b0496378 Changed SRGS SISR printing to be closer to the current working draft standard, as supported by the WebSphere implementation (and thus Opera). 2006-12-08 19:53:44 +00:00
bringert c038db9d7c JavaScript generation: compile all concrete syntaxes, not just the first. 2006-12-08 19:53:06 +00:00
bringert 6645233be0 Made generated JavaScript more object-oriented. Moved common JS stuff to lib/javascript/gflib.js 2006-12-06 13:52:24 +00:00
bringert ae43c55ae0 Oops, I broke the gfcc printer. Fixed now. 2006-12-06 11:54:51 +00:00
bringert 18ec82b54d Got GFCC to JavaScript compilation working. Variants are still printed in a weird way. 2006-12-05 22:10:28 +00:00
bringert ba13ff08d2 Added the beginnings of GFCC to JavaScript conversion. 2006-11-30 22:50:25 +00:00
bringert c2ecc9d554 Added tags target for building a TAGS file. 2006-11-30 21:25:23 +00:00
bringert 57b39a8475 Fixed typo in Kettil's patch. 2006-11-21 14:14:24 +00:00
bringert 429cbe1139 Removed extra comma in import list of src/GF/Speech/Relation.hs. This prevented compilation on current ghc HEAD. 2006-09-13 16:46:07 +00:00
bringert f41c8fd2fc transferc now uses env var TRANSFER_PATH to locate imports. 2006-09-13 11:46:04 +00:00
bringert 1807dc4379 Added darcs add to darcs instructions. 2006-09-03 20:14:10 +00:00
bringert df370ec7f8 Updated darcs.html with simpler instructions for current darcs versions (removed the ControlMaster stuff). 2006-08-28 12:12:21 +00:00
bringert d71b576f6e Use mkPrep instead of mkPreposition in peace keeping grammars. 2006-08-28 11:57:19 +00:00
bringert afac97b821 Block SIGINT while running gfInteract, as suggested by Peter. 2006-06-15 01:41:18 +00:00
bringert 0e484f094f Disable special treatment of lists in SRGS+SISR generation, since OptimTalk can't handle it. 2006-05-31 19:41:05 +00:00
bringert 6217a2a4d9 Imported latest config.sub and config.guess from http://cvs.savannah.gnu.org/viewcvs/config/config/ 2006-05-20 03:31:59 +00:00
bringert b7e1e31909 Changes to make GF compile with GHC 6.5 from CVS: remove inlines use of !, change all latin-1 characters in haskell code to escapes. 2006-05-20 02:56:06 +00:00
bringert 49849d7fe3 Regenerated transfer bnfc stuff with latest bnfc, happy and alex, to be able to compile on GHC CVS. 2006-05-20 01:41:53 +00:00
bringert e1ea20277c VoiceXML generation: use cond attribute with blocks, instead of having ifs inside. Recommended by OptimSys support. 2006-04-27 09:30:59 +00:00
bringert 1db0885429 Commented out one_Det in peacekeeping grammar. 2006-04-25 15:44:43 +00:00
bringert 10bf3b1d9f Moved punctuation to a separate field, to allow spoken language grammars to omit it. Created top-level spoken language grammars. (all in peacekeeping) 2006-04-21 21:53:20 +00:00
bringert 9a51ac6ebf Peacekeeping README: added reference to "Emergency multilingual phrasebook" 2006-04-21 14:49:46 +00:00
bringert 4bc12bcde1 Peace keeping: added more lexicon words. Added this_NP and that_NP. Added some more examples. 2006-04-21 14:34:45 +00:00
bringert c4560e21b0 Build peace grammars with optimize=share to work with GF EI. 2006-04-21 13:55:19 +00:00
bringert 3c1ef84ddd Peacekeeping: moved startcat flags to top level concretes to work around problems in figuring out the startcat for CFGMs. 2006-04-21 13:16:14 +00:00
bringert fc72f8b730 Added TODO item about startcat in CFGM grammars. 2006-04-21 13:13:28 +00:00
bringert c4f36a024a Implemented some new words in swedish. Use english compound for police officer. 2006-04-21 12:08:10 +00:00
bringert 4bb72d9343 Changed gfdoc to: include modification time of the gf file, instead of document generation time; ignore pragmas at the start of the GF file; not put note about txt2tags in the generated html. 2006-04-21 11:49:06 +00:00
bringert 53b86102ff Changed PeacePhrases_Swe to latin-1. 2006-04-21 09:55:15 +00:00
bringert 028561ac2a peacekeeping: implemented the new lexicon entries in english. 2006-04-21 07:49:53 +00:00
bringert 44300844db peacekeeping: add a module with phrases which are very different in different languages, e.g. greetings. The english and swedish implementations do not yet use the resource grammars, and the finnish is empty. 2006-04-20 22:46:41 +00:00
bringert 79c0cc23e6 Added section for examples we I don't know how to handle well without overgenerating too much. 2006-04-20 22:33:47 +00:00
bringert e75689439d Added some more words to the peacekeeping lexicon. Did not add them in the concrete syntaxes yet. 2006-04-20 22:18:35 +00:00
bringert 58a6088a4d Fixed a swedish peacekeeping missed latin-1 conversion. 2006-04-20 21:11:03 +00:00
bringert ca96cb741b Added swedish version of the peacekeeping grammar. 2006-04-20 18:27:51 +00:00
bringert a1e2767dbe Reorganized the peacekeeping grammar. 2006-04-20 17:55:46 +00:00
bringert f9cdc3c732 Added QuestIAdv_NP. 2006-04-20 16:43:13 +00:00
bringert af52e49d59 PeaceKepp: added a bunch of examples. Added a few words. Added some missing syntax constructs. 2006-04-20 15:13:55 +00:00
bringert 35cd3af661 Added Quest category to PeaceKeep grammar. 2006-04-20 11:46:50 +00:00
bringert 72dbe753e0 Added the beginnings of the PeaceKeep grammar. 2006-04-20 11:13:43 +00:00