Commit Graph

7969 Commits

Author SHA1 Message Date
aarne e0600ad248 documentation in the Editor files 2008-12-10 13:22:54 +00:00
aarne c6a8477106 fix in Editor 2008-12-10 12:13:01 +00:00
aarne f2271374ea parsing in the toy editor 2008-12-09 23:05:32 +00:00
krasimir 6a4711fdba bugfix in the Swedish paradigms - jazz is jazz in gentive not jazzs 2008-12-10 10:58:20 +00:00
krasimir bf98fede18 bugfixes in Numerals for Romanian 2008-12-09 20:26:03 +00:00
aarne 485ad4ff80 Editor with some commands, using PGF API, with demo shell in exper/EditShell; still buggy 2008-12-09 14:52:12 +00:00
aarne dd691347f8 started PGF editor 2008-12-08 17:15:36 +00:00
aarne 666184ca64 removed dependencies of Zipper and editor in GF grammar compiler 2008-12-08 14:25:11 +00:00
aarne 72346d6aca preperations for Val of params 2008-12-08 12:49:03 +00:00
aarne ca4c63c58f data structures for param values with number, preparing optimized pattern matching in grammar compilation 2008-12-08 07:15:19 +00:00
krasimir 87d7def438 remove GF.Source.SharedString from GF.cabal 2008-12-06 14:26:28 +00:00
bjorn 48e90ad8bd Rename PGF Server cabal packages to pgf-server (was gf-server). 2008-12-05 19:10:51 +00:00
bjorn e27065ae74 Added more functions to gf-server-jsapi.js 2008-12-05 19:08:58 +00:00
bjorn 48630f36ea Update src/server/simple-client.html and gf-server-jsapi.js to work with current pgf server. 2008-12-05 19:00:20 +00:00
aarne 7de283f322 fixed a Compute bug due to failure to match typed record values with untyped record patterns 2008-12-04 17:02:24 +00:00
aarne 95840d7cdc factored out RET in letter grammars 2008-12-04 15:20:47 +00:00
krasimir 0616cf93bf spotted wrong traslation in the Bulgarian dictonary. feather is feather not father 2008-12-04 14:19:29 +00:00
bjorn bfa73d40fc pgf server: return 1 result for /random without limit argument. 2008-12-04 13:54:43 +00:00
aarne ac15cff40e the letter grammar set ported to GF 3 2008-12-04 13:55:35 +00:00
aarne 5418e7bdff accusative for Finnish numeral determiners 2008-12-03 16:23:54 +00:00
aarne 7e613de9a1 bug fixes relevant for Bronzeage. NB Bulgarian can be compiled separately with old lib 2008-12-02 15:21:37 +00:00
aarne f5c48cb49b added slavic to some paths in Bulgaria, and Inanimate to one place in SymbolBul, to be able to compile them 2008-12-02 08:49:04 +00:00
aarne 683a776f83 sibstantival det forms in scandinavian 2008-12-02 08:22:32 +00:00
aarne 80d6d61cc4 corrected BeschSpa.encontrar_38 2008-12-02 07:45:58 +00:00
bjorn 82926e52dd Don't try to include Bulgarian in the bronzeage.pgf, since it seems to be missing from the repo. 2008-12-01 22:13:08 +00:00
bjorn 2cea569e3a Get A2, married_A2 from Lexicon in parsing grammar, since OALS doesn't have any A2's. 2008-12-01 21:40:57 +00:00
bjorn 69a945e8a1 Copy OALD files after building parse grammar. 2008-12-01 21:40:33 +00:00
bjorn 5ce5a3403b Remove more unused stuff from GF.Data.Operations. 2008-12-01 21:33:53 +00:00
bjorn 09845dc0b4 Fix URL of delete-last.png in fridge app. 2008-12-01 20:45:07 +00:00
aarne 80512723e4 fixed the gender of French numeral "un" 2008-12-01 18:02:08 +00:00
krasimir 461ec34e5b fix the inflection of computer in Bulgarian 2008-11-27 15:11:39 +00:00
krasimir f59810bb8c category Art removed from Russian 2008-11-27 14:20:18 +00:00
krasimir fb17eb7961 further refactoring in Russian 2008-11-27 14:08:50 +00:00
krasimir 149326c909 move lincat Subj, Prep to Slavic 2008-11-27 06:32:18 +00:00
bjorn acea90a252 Remove lots of old unused stuff from GF.Data.Operations. 2008-11-27 10:55:24 +00:00
bjorn f6cf10e655 More efficient implementation of topological sort.
Profiling the compilation of the OALD lexicon showed that 90-95% of the time was spent in topoSort. The old implementation was quadratic. Replaced this with O(E + V) implementation, in GF.Data.Relation. This gave a 10x speed-up (~ 25 sec instead of ~270 sec) for compiling ParseEng and OaldEng.
2008-11-27 10:29:29 +00:00
bjorn 210089b6c8 Move Graph, Relation and Graphviz modules from GF.Speech to GF.Data. 2008-11-27 08:43:08 +00:00
bjorn 0619824fa3 Remove ununsed GF.Source.SharedString module. 2008-11-27 08:36:18 +00:00
krasimir 32cbb995f1 initial Slavic grammar, shared between Bulgarian and Russian 2008-11-26 21:21:23 +00:00
krasimir 20c55c4f5a SubstForm in Russian is replaced with NForm like in Bulgarian and is used more widely 2008-11-26 19:38:51 +00:00
bjorn 832f25fc2a Don't use string sharing in LexGF.
Profiling showed that when loading a large .gfo file, shareString was responsible for
15-18% of the CPU time, and a lot of the allocation. Since we already use ByteStrings for 
reading the source files, shareString mostly has the effect of creating lots 
of small ByteStrings instead of one large one. Since the plain size of the .gfo is seldom
a problem (unlike when it was read as a String), it is ok to keep the whole file 
as one ByteString in RAM, and have all tokens point into that.
Profiling after the change showed 15-20% reduction in CPU time and in total allocation.
2008-11-26 16:19:54 +00:00
bjorn 499d6ade49 My profiling showed that the BinTree operations were responsible for about 60% of the CPU time when reading a large .gfo file. Replacing BinTree by Data.Map reduced this to about 6%, which meant about 50% reduction in total CPU time. 2008-11-26 15:44:22 +00:00
bjorn 22269d277e Get 'make prof' working with GHC 6.8 2008-11-26 14:56:46 +00:00
bjorn c63c3d9f58 Use OALD in ParseEng. 2008-11-26 14:56:34 +00:00
bjorn 54e994ef15 OALD: split lexicon into two: one for open classes and one for closed classes. 2008-11-26 14:35:35 +00:00
krasimir 4616041bdd add Russian in next-lib 2008-11-26 14:43:05 +00:00
bjorn 74c3956144 Added generated OALD files (Oald.gf and OaldEng.gf) to repo. 2008-11-26 14:17:55 +00:00
bjorn 6d13809091 Added original OALD files to repo. 2008-11-26 14:17:35 +00:00
bjorn 859cd04ae7 OALD: More info in generated header. 2008-11-26 14:17:16 +00:00
bjorn dbbf7b5368 OALD: clean up asc2gf script. 2008-11-26 14:00:10 +00:00