Commit Graph
100 Commits
Author SHA1 Message Date
bjorn 591c44f05b Some peacekeeping clean-up, still far from compiling. 2008-08-18 20:22:25 +00:00
bjorn 018b8e2f0d Include all languages in the demo pgf for the fastcgi server. 2008-08-18 20:21:02 +00:00
bjorn ca667318cf Sort languages in fastcgi /languages output. 2008-08-18 20:20:32 +00:00
bjorn 6360d3f473 Fixed bug in russian regular compartives. Predef.tk/dp have *really* confusing names, I don't think I ever got it right on the first try. 2008-08-18 19:05:46 +00:00
bjorn 4925580877 When producing PGF, do UTF-8 encoding of the whole file after pretty printing instead of walking through the PGF structure before pretty-printing.
The old code was brittle, and only converted strings in the lins and opers, not in printnames and parsers. The old code also double encoded some grammars when using gfc to combine PGF files.
2008-08-18 12:34:56 +00:00
bjorn ae90af3211 Updated AJAX translator to make use of canParse and the fixed parseAllLangs. 2008-08-18 09:38:21 +00:00
bjorn 686dd71041 Cleaned up the Demo conrecte syntaxes now that they don't have to list the restricted inheritance. Added language codes. 2008-08-18 09:37:01 +00:00
bjorn 78cd216243 Added canParse function to the PGF API. Make parseAllLang and parseAll skip languages which don't have parsers, instead of always throwing exceptions when some language is missing a parser. 2008-08-18 09:26:24 +00:00
bjorn 5e1836d4f9 Added languageCode function to the PGF API. 2008-08-18 09:25:43 +00:00
bjorn 7743fee09c Removed spurious lin foo = bar in DemoEng. 2008-08-18 08:58:11 +00:00
bjorn c9983ac6b5 Updated resource grammar fle list in GF.cabal 2008-08-18 08:47:39 +00:00
bjorn 95cdaaf4c4 gfc can now combine PGF files. 2008-08-15 21:10:54 +00:00
bjorn 0f51f5187c Added peacekeeping example back in. Doesn't compile yet. 2008-08-15 20:21:12 +00:00
bjorn e2f5add011 Added Makefile for fastcgi server. 2008-08-15 20:33:04 +00:00
bjorn e121f8f4cf Qualify PGF import in fastcgi server, to avoid hiding Language, which breaks with older cgi versions. 2008-08-15 20:31:23 +00:00
bjorn c00007c49e Added a basic stylesheet for the js and ajax translators. 2008-08-15 11:46:36 +00:00
bjorn 310d7cc63a JS translator: fixed typo, before a ul was produced instead of an li 2008-08-15 11:28:41 +00:00
bjorn a4bc886a31 First working version of the AJAX translation client. 2008-08-15 11:14:13 +00:00
bjorn c32be3e827 Change JS translation to replace existing output when a new translation is done. 2008-08-15 10:53:59 +00:00
bjorn 5939be16b8 Refactor js translator to be able to share some code with the ajax version. 2008-08-14 18:51:06 +00:00
bjorn b8de42f050 Started working on an AJAX client for the fastcgi server. 2008-08-14 15:56:52 +00:00
bjorn f29fac369e Added /cats and /langs to fastcgi server. 2008-08-14 15:56:38 +00:00
bjorn ca5a30b3f7 Print gf commands in Make.hs for debugging purposes. 2008-08-14 15:25:05 +00:00
bjorn 4792a92eb5 Better error handlig in the GF FastCGi server. 2008-08-14 12:08:38 +00:00
bjorn 38d37c4149 Added first version of the GF FastCGI server. 2008-08-14 09:06:26 +00:00
bjorn 3aee461ec0 Added startcat flag to Demo.gf 2008-08-14 08:07:24 +00:00
bjorn 5245c1e2b7 Remove the grammars directory. It was full of old grammars that don't compile these days. See the old source distributions if you want them. 2008-08-14 07:58:04 +00:00
bjorn 664bc8f534 Added .PHONY to lib/resource/Makefile 2008-08-14 07:57:50 +00:00
bjorn f43f756edb Remove superfluous DemoI.gf. 2008-08-14 07:56:41 +00:00
bjorn a709c654d1 Remove src/module-structure.txt, it's about the restructuring in GF 2.2. 2008-08-14 07:14:22 +00:00
bjorn b296099441 Include concrete syntax flags in generated JS. 2008-08-13 12:08:11 +00:00
bjorn 538f173447 Added missing translator.js 2008-08-13 11:11:25 +00:00
bjorn d43f3e7f5d Add language selectors to JavaScript translator. 2008-08-12 20:13:41 +00:00
bjorn d836aac9cd First working JavaScript translator. 2008-08-12 19:35:27 +00:00
bjorn 03660714f1 Use Food grammar as the example grammar.js. 2008-08-12 19:35:05 +00:00
bjorn 48e1ff8b3c russian: possesive pronouns don't get inital n after prepositions 2008-06-30 18:13:19 +00:00
bjorn ff80576666 Don't build lib twice in make binary-dist. 2008-06-27 18:16:46 +00:00
bjorn 99762c4bbc Build gfdoc in binary-dist, since the tarball includes it. 2008-06-27 18:15:27 +00:00
bjorn 428d92eac0 Set charset to utf-8 when printing html code. This is needed to get Safari to display resdemo.html correctly. 2008-06-27 18:14:19 +00:00
bjorn 7d9a48788d Drop java-related stuff from Makefile.binary. 2008-06-27 18:02:54 +00:00
bjorn c1c125d1b1 Changed version number in configure.ac. 2008-06-27 18:02:05 +00:00
bjorn 75c08292e3 Changed src-3.0 to src in GF.cabal 2008-06-25 18:29:21 +00:00
bjorn 83318d0757 Include coding flag in .gfo files.
Because the PGF file gets all the flags from the GFO file automatically, we get the coding flag in the PGF file too. This is undesirable, since PGF is supposed to always by in UTF-8.
2008-06-25 18:14:45 +00:00
bjorn 475e1ea4d9 Inflect German Numeral pot01 ("ein") in gender and case. Needed to get phrases such as "eine grosse Pizza" correct when "eine" is a Numeral rather than indef art. 2008-06-25 17:30:50 +00:00
bjorn 4e5c83fa74 quote stirng in getDataDir as generated by make today 2008-06-25 17:20:16 +00:00
bjorn 408aa5b608 russian added operation for adding n prefix to pronouns after prepositions. 2008-06-25 14:16:09 +00:00
bjorn 7dd461ab15 russin: noun declesion 10: small animals 2008-06-25 13:54:18 +00:00
bjorn e6af6c2714 russian: fix neutral adjective-declined nouns 2008-06-25 13:30:05 +00:00
bjorn d87872f823 russian: no need to import Predef. 2008-06-24 23:16:01 +00:00
bjorn b14394afdc russian: new paradigms for adjectives, including overloaded smart paradigm. moved declension stuff to MorphoRus. changes LexiconRus to use new mkA. 2008-06-24 23:06:20 +00:00
bjorn 695fdca35a russian: more noun paradigm work 2008-06-24 21:22:47 +00:00
bjorn 0554bb1937 Remove lots of ununsed noun stuff from MorphoRus. 2008-06-24 21:21:59 +00:00
bjorn 26aba963e7 Russian: remove old noun paradigm type declarations. Overload mkN2. Move internal stuff so that it is not visible in the synopsis. 2008-06-24 20:35:51 +00:00
bjorn 0b881cb489 russian: new noun paradigms, including smart paradigm. Some things are still unhandled, notably vowel changes, -a plurals -u prepositions. I have changed the lexicon to use the new ones even though they are not finished, since it was in a pretty sorry state to begin with. 2008-06-24 18:44:41 +00:00
bjorn 984c5ecc48 Russian: some refactoring of verb conjugation. 2008-06-23 20:01:47 +00:00
bjorn 6762837d54 Remove prepos2Pl argument to mkN. It is always identical to preposPl. 2008-06-23 18:37:50 +00:00
bjorn b2fe0d881a Russian: remove a big chunk of ParadigmsEng which was pasted into ParadigmsRus and commented out. 2008-06-23 18:32:51 +00:00
bjorn 2ab39eb0ee russian: implement pronMu and pronVu in terms of a common operation 2008-06-23 18:28:05 +00:00
bjorn e668b6d466 russian: removed preposition o from some prepositional cases. don't understand why it was there. 2008-06-23 18:27:37 +00:00
bjorn a0da909916 russian: use pronOn to implement pronOno. 2008-06-23 18:06:23 +00:00
bjorn 1bcdd06409 russian: reimplement pronYa and pronTu in terms of a common operation. 2008-06-23 18:01:27 +00:00
bjorn fac2e5cf13 russin: implement -to pronouns in terms of the base ones. 2008-06-23 17:30:23 +00:00
bjorn a50c7e3a7c Russian: get rid of the Prepos2 case. Added an argument to Prepos instead to handle -y endings with the v and na prepositions. This saves us a few hundred lines of code. It's a bit pointless since the whole thing needs to be rewriten, but at least I'm getting familiar with the code. 2008-06-23 17:15:14 +00:00
bjorn 74715f4673 Collapse some unnecessairly expanded cases in the russian morphology. 2008-06-23 13:27:51 +00:00
bjorn 683a87ad59 SRG generation: start categories etc should be checked after category renaming. 2008-06-22 21:01:38 +00:00
bjorn 6ebf615655 Rename SRG categories after preprocessing, since pp may introduce illegal category names. 2008-06-22 20:28:39 +00:00
bjorn 8c71cc884b Added SLF, RegExp and Dot printing to exportPGF. 2008-06-22 12:01:29 +00:00
bjorn 3362b20647 Get GF.Speech.PrRegExp to compile. 2008-06-22 11:58:31 +00:00
bjorn 8c5a5298fe Added old GF.Speech.PrRegExp back in 2008-06-22 11:56:12 +00:00
bjorn d617a05a36 Get GF.Speech.SLF to compile in GF 3. 2008-06-22 11:51:53 +00:00
bjorn 0fb3221775 Added old GF.Speech.PrSLF back in 2008-06-22 11:31:06 +00:00
bjorn b2cb675317 Remove "srgs" output format name, use "srgs_xml" instead. 2008-06-17 12:30:19 +00:00
bjorn dacf248160 Refactor grammar export code. 2008-06-17 12:29:11 +00:00
bjorn fe6255bf2e Got GSL generation working. 2008-06-17 12:06:27 +00:00
bjorn 775761a885 Added old GF.Specch.PrGSL back in (still unchanged). 2008-06-17 11:58:51 +00:00
bjorn b043de5529 Handled undefined children in the gflib.js Fun.show() function.
This shouldn't really happen, but if it does, debugging is much easier.
2008-06-17 11:06:46 +00:00
bjorn a0d29773a6 Added all the syntax editor files from Moises.
This is the version that he sent to me on Fri, Apr 11, 2008 at 2:42 PM. I'm not sure if this is the latest version.
2008-06-16 17:42:20 +00:00
bjorn f117eb95c3 Handled renaming external SRG categories centrally. 2008-06-16 16:44:33 +00:00
bjorn c57218d9ba Added --sisr option for including SISR tags in generated SRGs. 2008-06-16 16:12:17 +00:00
bjorn 395dd70f58 Fix handling of external categories in SRG generation. 2008-06-16 15:49:17 +00:00
bjorn 6ba502589f Get JSGF generation to compile. Still untested. 2008-06-12 18:39:02 +00:00
bjorn a6b8857e09 Add GF.Speech.SRG.isExternalCat 2008-06-12 18:35:25 +00:00
bjorn f480dd3403 Rename GF.Speech.SRGS to GF.Speech.SRGS_XML 2008-06-12 18:24:26 +00:00
bjorn 3c2e1a15ba Added unmodified GF.Speech.PrJSGF back in. 2008-06-12 18:19:45 +00:00
bjorn f231a75b87 Exclude literal categories from generated VoiceXML. 2008-06-12 18:12:43 +00:00
bjorn 8d4dddfada Get VoiceXML generation working. 2008-06-03 20:05:52 +00:00
bjorn 783f5a0aec Added lookPrintName. 2008-06-03 19:56:51 +00:00
bjorn c334b15abf Added (still unchanged) GF.Speech.VoiceXML. 2008-06-03 19:34:08 +00:00
bjorn ea80441b08 Don't suffix start category name with _cat in SRGS XML printing. 2008-06-03 19:33:13 +00:00
bjorn 5dea982489 Added "bnf" output format for debugging. 2008-06-03 19:32:42 +00:00
bjorn c974ce4345 Added options to support SRG printing. 2008-06-03 19:20:18 +00:00
bjorn 30792a3fa3 Added speech recognition grammar generation code. There is no way yet to invoke the SRG printer, and only SRGS is included. 2008-06-03 18:53:53 +00:00
bjorn be2e8386a7 Add GF.Data.XML from old source. This is required by the SRGS printer. 2008-06-03 18:53:30 +00:00
bjorn b54c5ddb7c Fixed generated Haskell modules to use only the PGF module. 2008-06-02 15:47:56 +00:00
bjorn 1a14b51f51 Honor the --name flag when generating output files. Set module name in generated Haskell modules correctly. 2008-06-02 15:32:01 +00:00
bjorn 699cf456cb Changes lookConcrFlag to return Maybe. 2008-05-30 15:38:35 +00:00
bjorn aa010a84bd Refactor GFI to treat command line files and the i command uniformly. Disable CSE by default in GFI. 2008-05-30 15:20:28 +00:00
bjorn bec9d06fae Change setOptimization to produce Options, not a function over Options. 2008-05-30 15:20:09 +00:00
bjorn 7b52464a92 Added setOptimization function to GF.Infra.Options. I will need to do similar things for other options. 2008-05-30 13:56:50 +00:00
bjorn ea17e2678b Only print \n instead of CPU time in putPointE when printing the text message. This avoids printings lots of empty lines in silent mode. 2008-05-29 08:06:56 +00:00