Commit Graph
100 Commits
Author SHA1 Message Date
bjorn c03f2768af Started working on oald2gf script. 2008-11-21 16:50:07 +00:00
bjorn 0a73c96ee3 Added CompCN to ParseEng. Perhaps this should move to NounEng. 2008-11-21 12:33:56 +00:00
bjorn de09e64892 pgf.fcgi: don't install any signal handlers. Since we didn't look at the variable they set, we just created zombies. 2008-11-20 15:00:53 +00:00
bjorn 1203d31d77 gwt: rearragne html files and paths to get nicer URLs. 2008-11-20 14:06:06 +00:00
bjorn 8f1d5c79ef Added CAdvNP and CAdvSSlash to ParseEng. Maybe they should go in Noun.gf instead? 2008-11-20 10:32:15 +00:00
bjorn dd58077add Fix permissions of pgf server error log. 2008-11-20 09:52:18 +00:00
bjorn 7181e8540a gf-server lighttpd.conf: put fcgi socket in basedir, with PID in name. This helps avoid clashed when running muyltiple gf servers on the same machine. 2008-11-20 08:56:17 +00:00
bjorn b5a6e15757 Updated CompatibilityEng to compile with case-inflected Num and Ord. 2008-11-19 14:28:50 +00:00
bjorn 842d7e434b Fix good_A in BigLexEng. 2008-11-19 13:57:42 +00:00
bjorn 972d300ba0 Updated ParseEng for case-inflected Num. 2008-11-19 13:15:36 +00:00
bjorn eaed41caaa Added case inflection to English numerals and adjectives, in order to get genitive forms of stand-alone determiners that use Num or Ord right. 2008-11-19 13:11:45 +00:00
bjorn 081b5707c3 Added overloaded mkQuant to ParadigmsEng. 2008-11-18 15:30:53 +00:00
bjorn eba86d2f24 The stand-alone form of no_Quant should be "none", not "no". 2008-11-18 15:20:40 +00:00
bjorn da4b858316 Remove "at least" and "at most" from parsing grammar, since they are now in structural. 2008-11-18 15:20:14 +00:00
bjorn 6cd27ad4f3 Remove no_Det, nobody_NP and nothing_NP from the parsing grammar, sicne they are now in Structural. 2008-11-18 12:38:03 +00:00
bjorn 0992b8507b gwt: fix gf-gwt.jar compilation to use the dnd jar 2008-11-11 22:13:12 +00:00
bjorn edbe6c9edc Frdige: hide magnet bag when empty. 2008-11-11 12:44:59 +00:00
bjorn ec301fea5e make food.pgf in src/server from resource-foods 2008-11-11 12:26:00 +00:00
bjorn 723e5e9dd6 Towards better layout of Fridge app. 2008-11-11 11:00:33 +00:00
bjorn eedd209458 SRG generation: renameCats now gives new names to all cates used in the grammar, on RHS or LHS. This avoids a crash in non-recursive SRGS generation. The crash happend becase the bottom-up filter has not yet been done when renameCats is called. 2008-11-09 14:27:34 +00:00
bjorn 9dbb65055d Fixed PGF file overwriting issue reported by Peter, by refusing to overwrite any of the input pgf files. Maybe the right fix would be to read the PGF strictly? 2008-11-09 13:58:28 +00:00
bjorn 526d8409bd Nicer brushed metal background. 2008-11-08 20:09:24 +00:00
bjorn 70e49b204c Symbolic.symb: overload versions with Quant instead of Det. 2008-11-07 16:15:53 +00:00
bjorn f1ad4febd9 Added variants of Symbolic.symb that take Numeral instead of Card. 2008-11-07 14:30:32 +00:00
bjorn e9dc470dcc More work on IE 6 bugs. 2008-11-07 09:55:56 +00:00
bjorn bc5f5e9413 Fridge: don't carch on start-up in IE6. 2008-11-07 09:07:58 +00:00
bjorn ea0af09cbb Added IE6-only testing module for FridgeApp. 2008-11-07 08:56:19 +00:00
bjorn 076a5167d0 Fridge: Added Delete Last button. 2008-11-06 14:31:06 +00:00
bjorn 6578905ddc The PGF GWT module needs to inherit the DnD stuff. 2008-11-06 14:24:38 +00:00
bjorn f686fd3e2f Fridge: prefix panel layout tweak. 2008-11-06 14:13:24 +00:00
bjorn 4b5a88e6aa Fridge: show initial letters in magnet bag when needed. 2008-11-06 14:11:32 +00:00
bjorn 599fa7dd55 Fridge: minor refactoring. 2008-11-06 13:47:40 +00:00
bjorn 66d46369be Fridge: allow clicks in addition to drag and drop. Don't remove magnets when dnd-ing. 2008-11-06 13:42:16 +00:00
bjorn 95e637b845 Use drag and drop in Fridge app. 2008-11-06 10:15:38 +00:00
bjorn d0a3b7e78e Brushed metal look for fridge app. 2008-11-05 21:03:23 +00:00
bjorn a1c8dc8ece Make fridge magnets look more like magnets. 2008-11-05 16:47:52 +00:00
bjorn 294309f2e0 GWT: big refactoring of the translator and fridge apps. 2008-11-05 16:36:52 +00:00
bjorn 408d4122f6 Get Fridge to compile with changes in Translate. 2008-11-04 14:12:37 +00:00
bjorn 2a567a6891 Forgotten record in src/server/Makefile. 2008-11-04 13:57:27 +00:00
bjorn 9b4d4cc13f Added GWT compile instructions to src/server/README. 2008-11-04 13:32:44 +00:00
bjorn e4552a97db GWT: changed input na doutput language boxes to not pretend that they allow multiple selections. 2008-11-04 10:44:23 +00:00
bjorn 76b8d37824 pgf-server: write stderr to pgf-error.log, since lighttpd closes stderr for fastcgi processes. 2008-11-04 09:28:21 +00:00
bjorn 1684db98ea Use next-lib when building example PGFs in src/server 2008-11-04 09:10:50 +00:00
bjorn 75c5c52179 Added /random to pgf-server. 2008-11-04 09:09:22 +00:00
bjorn 8a4250c2f4 Fix GWT client-side completion caching bug. Typing a space and then a letter quickly would cause the first request to be cancelled, and the second would use the two steps old results, which didn't go past the space => 0 completions. 2008-11-03 21:07:53 +00:00
bjorn df5e7b3363 Added first version of the fridge poetry gui 2008-11-03 16:43:47 +00:00
bjorn 12ecbdc89f gf-server: complete noew sorts case-insensitive 2008-11-03 16:43:19 +00:00
bjorn 34868b04bb GWT: Refactor TranslateApp to make the suggestion panel and the settings panel separate classes. This makes it possible to reuse them in mosg and fridge. 2008-11-03 14:42:49 +00:00
bjorn 580618587b ParseEng: more liberal IdRP 2008-11-03 13:00:35 +00:00
bjorn bd7e0bd496 Added 'parse' target to Make.hs. 2008-11-03 12:29:28 +00:00
bjorn e2fb4aa24d ParseEng: StrandRelSlash as variant of RelSlash. 2008-11-03 12:28:40 +00:00
bjorn 0eaba1fe1f ParseEng: ise CompleBareVS as variant of ComplVS 2008-10-31 11:04:22 +00:00
bjorn 875e03c92f Use BigLexEng in ParseEng. 2008-10-31 10:58:21 +00:00
bjorn c0a5ababe8 BigLexEng: use mkV3 instead of dirdirV3 2008-10-31 10:54:39 +00:00
bjorn 3836eaf139 BigLexEng: drop superfluous parantheses. 2008-10-31 10:51:33 +00:00
bjorn 2c7edaa0a2 BigLexEng: better use of mkV3, mkV2, mkN2. 2008-10-31 10:47:28 +00:00
bjorn bdc0af1564 ParadigmsEng: more versions of mkV2 and mkV3. 2008-10-31 10:43:13 +00:00
bjorn dbbecda3b3 BigLexEng: Get rid of the last mkV2 with empty second argument. 2008-10-31 10:34:59 +00:00
bjorn b23aa5ea0d igLexEng: Use mkV2 : Str -> V2 instead of mkV2 (mkV "...") 2008-10-31 10:32:47 +00:00
bjorn 6cc801ed1f BigLexEng: Use one-argument mkV2 instead of two-argument one with empty prep. 2008-10-31 10:28:54 +00:00
bjorn 2d39e424c9 Update BigLexEng to use overloaded paradigms. 2008-10-31 10:26:17 +00:00
bjorn 70ddf9cd91 ParadigmsEng: more overloaded version of mkA2, mkV2, mkV3, mkN2. Added mkSubj. 2008-10-31 10:19:44 +00:00
bjorn a18c8d67df LexiconEng: Lexicon.sister_N is N, not N2 (but it probably should be). 2008-10-31 10:05:59 +00:00
bjorn e2f602718a Added BigLexEng from mosg (originally from GF/example) to next-lib/parsing. 2008-10-31 09:26:38 +00:00
bjorn 5a49924c29 Added Pol argument to ExtraEng.Unc* to give them the same signatures as the standard (contracted) versions. This makes it easier to use Unc* as a variant without getting meta-variables when parsing, 2008-10-31 09:22:09 +00:00
bjorn 751d9c8940 Started working on a parsing grammar. English-only so far. 2008-10-30 16:53:26 +00:00
bjorn 4da0100312 Removed "that" variant in RelativeEng.IdRP. Added instead that_RP in ExtraEng[Abs]. 2008-10-30 15:06:34 +00:00
bjorn 3d20090483 More English morphology clean-up. 2008-10-30 14:37:54 +00:00
bjorn 205f4d1516 Remove lots of dead code from MorphoEng. 2008-10-30 14:21:46 +00:00
bjorn 29c63ae172 Added case parameter for stand-alone forms of determiners. I had to move mkPron from ResEng to MorphoEng, and mkQuant from StructuralEng to MorphoEng. I also removed the unused mkPronoun stuff from MorphoEng. 2008-10-30 14:09:27 +00:00
bjorn 61bddaba10 Towards cleaner english morphology: use mkPrep instead of ss in StructuralEng. 2008-10-30 14:08:21 +00:00
bjorn d2a9a9c480 Removed some unused (and strange) code from MorphoEng.
Why would you want a function that always returns the noun "dog"?
2008-10-30 13:10:29 +00:00
bjorn 6ebd80ba97 Include .gf file name in source parsing syntax error message. 2008-10-30 10:49:23 +00:00
bjorn 748b60eaee GWT lib and translator: added support for multiple pgf files. 2008-10-30 09:19:58 +00:00
bjorn 3e40a907ca gf-server: added a way to list the available pgf files 2008-10-29 20:45:18 +00:00
bjorn 681648fb05 Rename MainFastCGI.hs to PGFService.hs. 2008-10-29 19:49:38 +00:00
bjorn 70331e394b GWT translator: fixed copy-paste bug where the from language was sent as both from and to language. 2008-10-29 14:30:20 +00:00
bjorn 64765cd184 Changed UncNegX in ExtraEng to take a Temp rather than Tense and Ant arguments. 2008-10-29 13:27:04 +00:00
bjorn 0b2f87ee1f Remove superfluous RP argument to EmptyRelSlash. 2008-10-29 13:06:03 +00:00
bjorn fa061ce136 Replace PGF.Raw with PGF.Binary in the executable section of GF.cabal 2008-10-29 09:46:46 +00:00
bjorn 2c2a8a51e3 Changed gflib.js to handle linearization of literals. This duplicates some functionality from gfjseditor.js, but is required for the translator to be able to linearize literals. The editor should be fixed to remove the special code for literals, but it is a bit to much for me to understand right now. 2008-10-29 09:33:58 +00:00
bjorn 4dd05f663b JS parser: remove empty tokens after lexing. This fixes a problem where a string with leading space couldn't be parsed. 2008-10-29 08:39:23 +00:00
bjorn d61f6f1085 GWT: better heuristics for when to ask the server for completions. 2008-10-28 12:59:00 +00:00
bjorn 7ef019b006 GWT completion: only return request.getLimit() results to the SuggestBox. Re-request completions from the server if there is only one completion. 2008-10-28 12:37:52 +00:00
bjorn 76931b40fb Changed PGF.complete to include the given input if it can be parsed as a complete tree. 2008-10-28 12:28:46 +00:00
bjorn 12a17a7e81 GWT: Hold on to the previous suggestions, and try filtering them before asking the server. 2008-10-27 21:51:54 +00:00
bjorn 938340aed3 GWT: added IterableJsArray.isEmpty(). 2008-10-27 10:18:21 +00:00
bjorn 93b4d6a398 GWT: hide stale suggestions. 2008-10-24 14:22:19 +00:00
bjorn bc255b3a7f GWT code import tweak. 2008-10-24 14:00:24 +00:00
bjorn a984aaa9cb More GWT refactoring. 2008-10-24 08:45:34 +00:00
bjorn c02d577cde Added Eclipse project stuff for the GWT library. Some refactoring of the GWT code. 2008-10-23 11:51:52 +00:00
bjorn 807a314063 Added PGF.parse method to GWT client. 2008-10-22 19:59:43 +00:00
bjorn c205b867be Some refactoring of the GWT translator. 2008-10-22 19:37:57 +00:00
bjorn 252ae4cb31 Make GWT compilation easier. 2008-10-22 13:29:57 +00:00
bjorn 94b8b451df Remove compiled GWT stuff. 2008-10-22 13:28:33 +00:00
bjorn 161cb67082 gf-server: preliminary Ubuntu instructions 2008-10-22 12:36:13 +00:00
bjorn 622dc8fbaf Recompiled GWT code. I should drop the compiled code from the repo soon, this is getting tedious. 2008-10-22 12:07:04 +00:00
bjorn 22c271ad70 Rename the GWT Translate module to PGF. Rename the GF class to PGF. 2008-10-22 12:05:59 +00:00
bjorn 792752c382 Change GWT compilation scripts to make it easier to change the GWT dir location. 2008-10-22 11:19:12 +00:00
bjorn a28183ef01 New compiled GWT stuff. 2008-10-22 09:37:06 +00:00