Commit Graph
100 Commits
Author SHA1 Message Date
bringert f6a5ea8738 Updated reference to regular -> FA conversion. 2007-01-03 18:17:32 +00:00
bringert 159381e33a Use printname to make VoiceXML prompts. 2006-12-28 17:12:40 +00:00
bringert da339b2686 Added gfcc2c to GF repo. 2006-12-22 13:43:32 +00:00
bringert 95d4af1f2d 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 5eb3e7032a Added voicexml,javascript,jsgf+sisr to gf-history and helpfile. 2006-12-21 15:00:30 +00:00
bringert e8b8185e04 Generate JavaScript type annotator. Use lindef in JavaScript. 2006-12-21 00:01:45 +00:00
bringert 5455046dd8 Fixed (final?) two bugs in the SISR generation. 2006-12-20 22:13:56 +00:00
bringert 10ac9be0e1 More JSGF pretty-printing. 2006-12-20 21:50:16 +00:00
bringert 947d1cf564 JSGF pretty printing tweaks. 2006-12-20 21:43:41 +00:00
bringert 01bb00deea Use HughesPJ pretty printer to make JSGF output look nicer. 2006-12-20 21:39:25 +00:00
bringert a7f2010c6a Make smaller SISR code for tokens. 2006-12-20 20:22:08 +00:00
bringert 8424b23765 Removed tracing from PrJSGF. 2006-12-20 20:14:46 +00:00
bringert cb70ffadaa 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 5b8680b8fd 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 3797fc35c5 Use [] in JSGF printing. 2006-12-17 18:16:20 +00:00
bringert 743e89fa9b Some clean-up in GF/Speech/TransformCFG.hs 2006-12-17 13:29:12 +00:00
bringert 2b326f8041 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 6d819b2c84 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 35c4302e48 Added dumpObject to gflib.js. 2006-12-15 21:00:21 +00:00
bringert 9e559bb7d5 Fixed Suffix-table bugs in gflib.js. 2006-12-15 19:31:24 +00:00
bringert 3cf9e25225 JavaScript: change Fun.toString to print(). Metavariables in abstract syntax are now Funs with name ? 2006-12-15 17:25:45 +00:00
bringert 160c6354c0 Towards smaller SRGs when lots of variants are used. 2006-12-15 16:09:58 +00:00
bringert 0ef8dced52 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 5001ad8ed3 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 9e3500024b Use ebnf srg generation in PrSRGS. 2006-12-12 14:01:42 +00:00
bringert ebb3382418 Moved profile stuff to GF.Speech.SRG, to allow other SRG formats to include SISR. 2006-12-12 11:59:12 +00:00
bringert 694f644fe5 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 b859fb7a7a SRGS+SISR: put tags after items. 2006-12-11 19:41:03 +00:00
bringert 5c65037d8c VoiceXML: set xml:lang (value is still fake though) 2006-12-11 16:08:15 +00:00
bringert 321169c3b4 VoiceXML: print without debugging stuff by default. 2006-12-11 15:20:26 +00:00
bringert 4ab7c6774b 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 18cfffff90 VoiceXML: don't use subdialog srcexpr for statically know subdialogs. 2006-12-10 23:32:30 +00:00
bringert b664973cae Reinstate SISR field name for top-level categories. The VoiceXML generation relies on it. 2006-12-10 23:31:43 +00:00
bringert 8b94297b85 Added tag-format attribute to SRGS XML when using SISR. 2006-12-10 20:53:51 +00:00
bringert 0ae6351754 Use public category with original name as SRGS start cat. 2006-12-08 20:10:28 +00:00
bringert 46ca2e7b1a 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 a9892f0d62 JavaScript generation: compile all concrete syntaxes, not just the first. 2006-12-08 19:53:06 +00:00
bringert 5a5a05df95 Fixed warning sand extra spaces in linearization in gflib.js. 2006-12-06 14:11:01 +00:00
bringert f46c848b7e Made generated JavaScript more object-oriented. Moved common JS stuff to lib/javascript/gflib.js 2006-12-06 13:52:24 +00:00
bringert 085ae18f75 Oops, I broke the gfcc printer. Fixed now. 2006-12-06 11:54:51 +00:00
bringert 58813c8fa7 Got GFCC to JavaScript compilation working. Variants are still printed in a weird way. 2006-12-05 22:10:28 +00:00
bringert ae188e067f Added the beginnings of GFCC to JavaScript conversion. 2006-11-30 22:50:25 +00:00
bringert 1e3ea113bb Added tags target for building a TAGS file. 2006-11-30 21:25:23 +00:00
bringert 38da5ec3eb Fixed typo in Kettil's patch. 2006-11-21 14:14:24 +00:00
bringert bb9ec5c21a 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 16aa3bbbc1 transferc now uses env var TRANSFER_PATH to locate imports. 2006-09-13 11:46:04 +00:00
bringert 952c612703 Added darcs add to darcs instructions. 2006-09-03 20:14:10 +00:00
bringert c9b4a28ebb Updated darcs.html with simpler instructions for current darcs versions (removed the ControlMaster stuff). 2006-08-28 12:12:21 +00:00
bringert 7140babd16 Use mkPrep instead of mkPreposition in peace keeping grammars. 2006-08-28 11:57:19 +00:00
bringert 6bd400091c Block SIGINT while running gfInteract, as suggested by Peter. 2006-06-15 01:41:18 +00:00
bringert d71e8b65d8 Disable special treatment of lists in SRGS+SISR generation, since OptimTalk can't handle it. 2006-05-31 19:41:05 +00:00
bringert 654ba34917 resource-1.0 makefile, don't fail if there are no file to remove in clean target. 2006-05-20 05:02:42 +00:00
bringert 2bb984f22e 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 c35890ab2a 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 f757f2ea1e 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 817a6a488b 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 506e95f40a Commented out one_Det in peacekeeping grammar. 2006-04-25 15:44:43 +00:00
bringert 46f17bb535 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 6806c98e29 Peacekeeping README: added reference to "Emergency multilingual phrasebook" 2006-04-21 14:49:46 +00:00
bringert b65698ba37 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 db8e34e072 Build peace grammars with optimize=share to work with GF EI. 2006-04-21 13:55:19 +00:00
bringert dbbde56331 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 7d7f91d23e Added TODO item about startcat in CFGM grammars. 2006-04-21 13:13:28 +00:00
bringert e03610fb8f Implemented some new words in swedish. Use english compound for police officer. 2006-04-21 12:08:10 +00:00
bringert 59d066c8bf Moved göra to IrregSwe. 2006-04-21 11:55:24 +00:00
bringert 4fe70bc89e Regenerated all resource-1.0 docs with the modified gfdoc. 2006-04-21 11:52:23 +00:00
bringert d074641f9d 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 218e4ae58b Changed PeacePhrases_Swe to latin-1. 2006-04-21 09:55:15 +00:00
bringert fd70db2c9f peacekeeping: implemented the new lexicon entries in english. 2006-04-21 07:49:53 +00:00
bringert 1861c23414 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 50c51c50bf 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 de880425ad 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 c8d67be0cf Fixed a swedish peacekeeping missed latin-1 conversion. 2006-04-20 21:11:03 +00:00
bringert b9c4c1e6fc Added swedish version of the peacekeeping grammar. 2006-04-20 18:27:51 +00:00
bringert e4705c78c3 Reorganized the peacekeeping grammar. 2006-04-20 17:55:46 +00:00
bringert a5b6f1b4b3 Added QuestIAdv_NP. 2006-04-20 16:43:13 +00:00
bringert fe0d2f4896 PeaceKepp: added a bunch of examples. Added a few words. Added some missing syntax constructs. 2006-04-20 15:13:55 +00:00
bringert 50adaa8122 Added Quest category to PeaceKeep grammar. 2006-04-20 11:46:50 +00:00
bringert 354a07ffd8 Added the beginnings of the PeaceKeep grammar. 2006-04-20 11:13:43 +00:00
bringert 3b3570201a Added debugging flag to generated VoiceXML. 2006-04-20 09:46:54 +00:00
bringert 9b38240354 Use quest_Cat to generate questions in the VoiceXML printer. 2006-04-19 09:03:19 +00:00
bringert 7f26cea8a2 Disable readline support on cygwin, regardless of GHC version. 2006-04-19 08:48:54 +00:00
bringert 4d3dc4ac54 Look at both command-line and grammar startcat falgs in pg commands. 2006-04-18 12:42:20 +00:00
bringert dbd9a25162 Fixed left recursion removal to not create cyclic rules. 2006-04-13 15:07:17 +00:00
bringert c47da3d351 Removed cycles when building SRGs, to avoid getting left-recursive grammars. 2006-04-13 14:47:37 +00:00
bringert 26b61d82ee generate unique new category names when removing left recursion from cfgs. 2006-04-13 14:29:27 +00:00
bringert 256b593ae5 Fixed bug in SRG top-down filtering where the start category would be removed if it wasn't referenced by itself. 2006-04-13 14:18:13 +00:00
bringert 9792052c9a Use a variable for the gf command in resource Makefile, to enable easy profiling. 2006-04-13 13:52:36 +00:00
bringert 4609965d71 Added top-down filtering to the GSL printer. 2006-04-13 13:33:35 +00:00
bringert 9ed344a70d Added -startcat flag to the pg command. 2006-04-13 13:32:58 +00:00
bringert 0fef8d5675 The SLF removeTrivialEmptyNodes optimization could orphan the final node. Fixed this by not bypassing final nodes. 2006-04-12 23:22:35 +00:00
bringert b67268cc79 In GSL generation: remove punctuation before LR analysis. 2006-03-31 15:52:03 +00:00
bringert 30abcf023c Added colon to the list of punctuation chars in GSL generation. 2006-03-31 15:31:33 +00:00
bringert ed047e9429 Updated version numbers to 2.5. 2006-03-21 13:57:00 +00:00
bringert b307f86496 Added release number in debian/changelog. 2006-03-21 13:49:42 +00:00
bringert 1e7d498b6c Set GF_LIB_PATH to the dist dir when building grammar-dist. 2006-03-21 13:20:03 +00:00
bringert c2b3a28411 Use date-based package name for grammar dist. Included compiled resource-1.0 in grammar dist. 2006-03-21 13:02:14 +00:00
bringert e6686af2a6 Debian package: build and install gfdoc. 2006-03-21 13:01:58 +00:00
bringert b5d8ec661f Don't rebuild java code when installing it. 2006-03-21 12:25:34 +00:00
bringert 665e437895 Updated copyright year in src/GF.hs. 2006-03-21 10:55:38 +00:00