1
0
forked from GitHub/gf-core
Commit Graph

1777 Commits

Author SHA1 Message Date
krasimir
f0718589df .gfo files in binary format 2009-01-23 06:15:27 +00:00
krasimir
3c53194ca9 --make now implies --batch 2009-01-23 06:14:34 +00:00
krasimir
b10c9c0f83 pretty printing of qualified identifiers 2009-01-23 06:11:41 +00:00
krasimir
62a6156405 remove unused import 2009-01-23 06:11:10 +00:00
krasimir
b3af472c98 improved error message 2009-01-22 15:52:19 +00:00
krasimir
0592994475 remove the obsolete GF\Devel directory 2009-01-22 15:28:10 +00:00
krasimir
418b33f9ae optimized Data.Binary.Get.getWord8 2009-01-22 15:01:41 +00:00
krasimir
8155d3b212 add hopefully complete binary serialization for the GF.Grammar.Grammar abstract syntax. Still not in use 2009-01-20 16:20:38 +00:00
krasimir
c7c1e69c7a simple fixes in GF.Grammar.Printer 2009-01-20 15:38:52 +00:00
krasimir
dd0ad1a1eb whitespace only 2009-01-20 15:38:18 +00:00
krasimir
e3892b82c0 remove some dead types from GF.Grammar.Grammar 2009-01-20 14:33:42 +00:00
krasimir
d6e917b5a1 added pretty printing for flags 2009-01-20 14:07:13 +00:00
krasimir
d2a00c373a pretty printer for the GF.Grammar syntax. still not in use 2009-01-20 12:43:15 +00:00
krasimir
d95ca4a103 refactor the GF.Grammar.Grammar syntax. The obsolete constructions are removed 2009-01-19 13:23:03 +00:00
aarne
f7dfc6f1d7 command dg for showing source grammar dep graph restored 2008-12-19 14:28:58 +00:00
krasimir
9d0df9e0b4 added codepage 1250 i.e. central european. Useful for Polish, Czech, Slovak, Hungarian, Slovene, Bosnian, Croatian, Serbian, Romanian and Albanian 2008-12-17 23:53:12 +00:00
aarne
cb44a12c1b fixed discontinuous constituents in word alignment 2008-12-16 15:20:03 +00:00
aarne
e32e914703 datatype for bracketed texts, and improved word alignment 2008-12-16 13:56:23 +00:00
aarne
8c7aa2f5bb position of arrows in alignment 2008-12-16 08:59:26 +00:00
aarne
e478228cb5 better treatment of syncategorematic words in alignment 2008-12-15 15:45:36 +00:00
aarne
10675e29ca visualization of word alignment based on bracketing (command aw); does not work for syncategorematic words yet 2008-12-15 10:33:53 +00:00
aarne
3e293ae3e0 bracketing with tree node reference: l -bracket 2008-12-13 20:19:37 +00:00
aarne
6e511e5fbd morphological analyser in shell state - now reasonably fast 2008-12-12 08:12:24 +00:00
aarne
bd21e6e1a0 a dialogue-like editor loop 2008-12-11 15:36:40 +00:00
aarne
db65b6bce1 added and editor function allMetas showing all meta positions and their types 2008-12-10 14:20:52 +00:00
aarne
a554ced10d documentation in the Editor files 2008-12-10 13:22:54 +00:00
aarne
efdbf69b93 fix in Editor 2008-12-10 12:13:01 +00:00
aarne
5974263e95 parsing in the toy editor 2008-12-09 23:05:32 +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
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
bjorn
e0572650b3 pgf server: return 1 result for /random without limit argument. 2008-12-04 13:54:43 +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
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
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
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