Commit Graph

2788 Commits

Author SHA1 Message Date
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
bjorn
3d1bebbd32 First working version of OALD dictionary conversion. Still missing: irregular verbs, irregular nouns, better handling of singular- and plural-only nouns. 2008-11-25 20:09:50 +00:00
bjorn
450a34f2d8 Added ParadigmsEng.mkConj. 2008-11-25 19:53:22 +00:00
bjorn
fbf266372a First version of OALD alsmost working. 2008-11-25 14:50:16 +00:00
krasimir
511c7eaa48 add preposition "na" when the case is dative (QuestionBul) 2008-11-24 13:27:33 +00:00
krasimir
d34cc4671e replace spec with qform 2008-11-24 12:55:17 +00:00
krasimir
1e7c4be787 replace latin 'a' with cyrillic 'a' 2008-11-24 12:53:57 +00:00
aarne
594ed22b4e links in demo.txt 2008-11-21 17:12:34 +00:00
aarne
82484f5586 links to demos 2008-11-21 17:10:02 +00:00
bjorn
59ff172b7d Started working on oald2gf script. 2008-11-21 16:50:07 +00:00
bjorn
b047a99a84 Added CompCN to ParseEng. Perhaps this should move to NounEng. 2008-11-21 12:33:56 +00:00
bringert
289618b81f lighttpd conf tweak. 2008-11-20 16:49:12 +00:00
bjorn
93ab59dd58 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
b56a06fdda gwt: rearragne html files and paths to get nicer URLs. 2008-11-20 14:06:06 +00:00
bjorn
61507730e8 Added CAdvNP and CAdvSSlash to ParseEng. Maybe they should go in Noun.gf instead? 2008-11-20 10:32:15 +00:00
bjorn
7dbaae50a9 Fix permissions of pgf server error log. 2008-11-20 09:52:18 +00:00
bjorn
3195979031 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
bringert
9167185d21 Include MachDeps.h in Data/Binary.hs, since it uses WORD_SIZE_IN_BITS. Without this, the Binary Word instance would be wrong on 64-bit machines. 2008-11-19 20:30:57 +00:00
bjorn
86878c0cf4 Updated CompatibilityEng to compile with case-inflected Num and Ord. 2008-11-19 14:28:50 +00:00
bjorn
9d1d7dd3c8 Fix good_A in BigLexEng. 2008-11-19 13:57:42 +00:00
bringert
57fbca2133 Merge SyntaxEng.mkOrd and ParadigmsEng.mkOrd in TryEng. 2008-11-19 14:16:28 +00:00
bjorn
76f299b93a Updated ParseEng for case-inflected Num. 2008-11-19 13:15:36 +00:00
bjorn
0c538bf80b 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
aarne
288ffd290a restored "?" as system pipe command 2008-11-18 15:31:30 +00:00
bjorn
bd1417e21a Added overloaded mkQuant to ParadigmsEng. 2008-11-18 15:30:53 +00:00
bjorn
f3f29a4683 The stand-alone form of no_Quant should be "none", not "no". 2008-11-18 15:20:40 +00:00