Commit Graph

2813 Commits

Author SHA1 Message Date
krasimir
e32e085891 bugfix in the Swedish paradigms - jazz is jazz in gentive not jazzs 2008-12-10 10:58:20 +00:00
krasimir
b62f564d0b bugfixes in Numerals for Romanian 2008-12-09 20:26:03 +00:00
aarne
d925bb35c1 Editor with some commands, using PGF API, with demo shell in exper/EditShell; still buggy 2008-12-09 14:52:12 +00:00
aarne
a6097ccee6 started PGF editor 2008-12-08 17:15:36 +00:00
aarne
e009048e08 removed dependencies of Zipper and editor in GF grammar compiler 2008-12-08 14:25:11 +00:00
aarne
75ecc5f97b preperations for Val of params 2008-12-08 12:49:03 +00:00
aarne
de8bea8d69 data structures for param values with number, preparing optimized pattern matching in grammar compilation 2008-12-08 07:15:19 +00:00
krasimir
cbb495f5d9 remove GF.Source.SharedString from GF.cabal 2008-12-06 14:26:28 +00:00
bjorn
498466f8b2 Rename PGF Server cabal packages to pgf-server (was gf-server). 2008-12-05 19:10:51 +00:00
bjorn
934a5fc120 Added more functions to gf-server-jsapi.js 2008-12-05 19:08:58 +00:00
bjorn
91cc5f44c6 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
d38f56b025 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
896791e78c factored out RET in letter grammars 2008-12-04 15:20:47 +00:00
krasimir
7ed9e11bfb spotted wrong traslation in the Bulgarian dictonary. feather is feather not father 2008-12-04 14:19:29 +00:00
bjorn
e0572650b3 pgf server: return 1 result for /random without limit argument. 2008-12-04 13:54:43 +00:00
aarne
d8c2b34b8e the letter grammar set ported to GF 3 2008-12-04 13:55:35 +00:00
aarne
2440854310 accusative for Finnish numeral determiners 2008-12-03 16:23:54 +00:00
aarne
2f7fd8a597 bug fixes relevant for Bronzeage. NB Bulgarian can be compiled separately with old lib 2008-12-02 15:21:37 +00:00
aarne
90ca53d18a 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
d0a129dabc sibstantival det forms in scandinavian 2008-12-02 08:22:32 +00:00
aarne
947d22129f corrected BeschSpa.encontrar_38 2008-12-02 07:45:58 +00:00
bjorn
bf7d2ff90c 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
45df272fcd 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
52a138d4f3 Copy OALD files after building parse grammar. 2008-12-01 21:40:33 +00:00
bjorn
b8893fc0b5 Remove more unused stuff from GF.Data.Operations. 2008-12-01 21:33:53 +00:00
bjorn
6728ef2dcf Fix URL of delete-last.png in fridge app. 2008-12-01 20:45:07 +00:00
aarne
3efc24bbea fixed the gender of French numeral "un" 2008-12-01 18:02:08 +00:00
krasimir
22112ca160 fix the inflection of computer in Bulgarian 2008-11-27 15:11:39 +00:00
krasimir
6470164446 category Art removed from Russian 2008-11-27 14:20:18 +00:00
krasimir
4af8cf3617 further refactoring in Russian 2008-11-27 14:08:50 +00:00
krasimir
7f81aa43af move lincat Subj, Prep to Slavic 2008-11-27 06:32:18 +00:00
bjorn
f50c4270ad Remove lots of old unused stuff from GF.Data.Operations. 2008-11-27 10:55:24 +00:00
bjorn
1145aefdbb 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
a4e731cc33 Move Graph, Relation and Graphviz modules from GF.Speech to GF.Data. 2008-11-27 08:43:08 +00:00
bjorn
a4f0d4f0d7 Remove ununsed GF.Source.SharedString module. 2008-11-27 08:36:18 +00:00
krasimir
c9c07f8e68 initial Slavic grammar, shared between Bulgarian and Russian 2008-11-26 21:21:23 +00:00
krasimir
b6c9aedd87 SubstForm in Russian is replaced with NForm like in Bulgarian and is used more widely 2008-11-26 19:38:51 +00:00
bjorn
720932d751 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
5dee98234e 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
260e13146e Get 'make prof' working with GHC 6.8 2008-11-26 14:56:46 +00:00
bjorn
3c47226549 Use OALD in ParseEng. 2008-11-26 14:56:34 +00:00
bjorn
a61a6d5d43 OALD: split lexicon into two: one for open classes and one for closed classes. 2008-11-26 14:35:35 +00:00
krasimir
d0116c3958 add Russian in next-lib 2008-11-26 14:43:05 +00:00
bjorn
66785b2020 Added generated OALD files (Oald.gf and OaldEng.gf) to repo. 2008-11-26 14:17:55 +00:00
bjorn
a8f0dc0cb2 Added original OALD files to repo. 2008-11-26 14:17:35 +00:00
bjorn
e651a7bceb OALD: More info in generated header. 2008-11-26 14:17:16 +00:00
bjorn
335394de6a OALD: clean up asc2gf script. 2008-11-26 14:00:10 +00:00
bjorn
6e14352501 OALD: remove * and add comment for guessed irregular noun plural forms. 2008-11-26 13:38:34 +00:00
bjorn
c66f94b06c OALD: Use verbs from IrregEng when possible. 2008-11-26 13:33:53 +00:00
bjorn
f0ab94825f Added ParadigmsEng.mkV : Str -> V -> V, which adds a prefix to an existing verb. 2008-11-26 13:33:22 +00:00