Commit Graph
100 Commits
Author SHA1 Message Date
kr.angelov 5a27861038 several updates to DictEng and ParseEng 2012-05-25 07:33:40 +00:00
kr.angelov cab4602b62 the viterbi probability for the epsilon categories is now updated properly 2012-05-25 07:30:35 +00:00
kr.angelov ec00a42ee6 fixed an alignment bug in libgu which leads to crash on some platforms 2012-05-25 07:29:29 +00:00
kr.angelov bd102d54d9 fixed memory leak in the pgf-translate tool 2012-05-25 07:28:18 +00:00
kr.angelov fdcd0de336 added pgf-service.c in the robust parser' 2012-05-25 07:27:29 +00:00
kr.angelov 3549db552e a bunch of new things in DictEng and ParseEng a simple fix for the VPI category in ExtraEng 2012-05-21 15:06:41 +00:00
kr.angelov bd8046f23d another attempt to port the robust parser to MacOS 2012-05-16 15:18:44 +00:00
kr.angelov e342e5e7d6 small fix for compiling the robust parser on MacOS 2012-05-16 12:18:50 +00:00
kr.angelov 4aca965109 a new unbiased statistical parser. it is still far from perfect use it on your own risk. 2012-05-08 12:13:28 +00:00
kr.angelov 38ed063405 fixes in DictEng and ParseEng 2012-05-07 21:40:14 +00:00
kr.angelov ed6a53609b yet another fix for parsing literals 2012-04-18 15:50:55 +00:00
kr.angelov c6c54f8815 some fixes in the robust parser and a new API for literals 2012-04-12 06:55:25 +00:00
kr.angelov 18185aba97 insert spaces in the hyphenated words in DictEng. Various small fixes in DictEng and ParseEng 2012-04-10 09:15:37 +00:00
kr.angelov 99cc07ad67 simple cleanup in the robust parser 2012-04-02 19:01:18 +00:00
kr.angelov 2bf3f22fac libpgf: a new implementation for literals which also allows custom literals. the same mechanism is now used for the metavariables 2012-03-12 14:25:51 +00:00
kr.angelov c1b2246fa9 libpgf: added simple lexer 2012-03-09 09:14:44 +00:00
kr.angelov 1da464a4cc libpgf: implementation for built in literal categories 2012-03-07 16:39:29 +00:00
kr.angelov bf81c0f77f libpgf: simple fix in the parser debugger 2012-03-07 12:23:07 +00:00
kr.angelov e871330665 libpgf: two APIs - one for finding all parse results and another for finding the best parse result 2012-03-07 11:00:17 +00:00
kr.angelov 791a1a17b0 libpgf: now all concrete functions and categories are explicitly linked to their abstract counter parts 2012-03-05 12:59:31 +00:00
kr.angelov fdf6dd7798 libpgf: preliminary version for the statistical ranking. we use naive statistical model with random weight for the meta variables. 2012-03-02 19:25:01 +00:00
kr.angelov 79c7141973 libpgf: simple optimization in the implementation for heaps 2012-03-02 17:43:46 +00:00
kr.angelov 862e89db8d libpgf: an API for building heaps from buffers in gu/seq.c 2012-02-29 18:51:21 +00:00
kr.angelov aca0bd5ee5 libpgf: the first prototype for the robust parser 2012-02-29 14:43:08 +00:00
kr.angelov 65a69cab91 libpgf: the choice object should remember integers instead of single bytes 2012-02-29 13:41:59 +00:00
kr.angelov e0bf3c0a07 libpgf: another fix in the parser debugger 2012-02-28 16:37:12 +00:00
kr.angelov 9536cecae8 libpgf: the time measurement in pgf-translate should be made after pgf_parse_result for more accurate timing 2012-02-28 13:14:24 +00:00
kr.angelov 3aa26948de libpgf: fix in the parser debugger 2012-02-28 13:12:38 +00:00
kr.angelov df0fe4363d buf fix in the compiler for HOAS 2012-02-28 08:10:47 +00:00
kr.angelov 9604f3623a libpgf: pretty printing for expressions with metavaraibles 2012-02-27 13:50:35 +00:00
kr.angelov 695c776065 libpgf: fix in pgf_read_into_map 2012-02-24 15:15:07 +00:00
kr.angelov 0faffc6ffd libpgf: simple fix in the grammar printer and the reader 2012-02-24 13:52:21 +00:00
kr.angelov f1d2852c4d libpgf: now we have both complete bottom up index for robust parsing and fast lexical lookup from the same index 2012-02-22 21:27:54 +00:00
kr.angelov 440b208144 libpgf: two small fixes in the parser debugger 2012-02-22 14:06:49 +00:00
kr.angelov 831de53573 libpgf: the map curr_lindefs must be allocated from a temporary pool 2012-02-22 08:49:08 +00:00
kr.angelov dc4c3d3b28 libpgf: added index for fast lexicon lookup. Still not perfect 2012-02-21 21:17:50 +00:00
kr.angelov eff8e1134a utils/pgf-translate now reports the parsing time 2012-02-21 20:17:18 +00:00
kr.angelov f7fa0395be fixes in the script for the conversion of PennTreebank 2012-02-21 17:26:04 +00:00
kr.angelov 516c31835b extensions to DictEng 2012-02-21 17:25:23 +00:00
kr.angelov 30d3fc8b4d libpgf: now the debugging mode for the parser is available only with compilation option. 2012-02-18 19:30:16 +00:00
kr.angelov 0f7b3ed9f4 libpgf: remove the now redundant field extra_ccats in PgfConcr 2012-02-18 16:25:53 +00:00
kr.angelov 0147885e2f libpgf: now the linearization index is created during the grammar loading which also makes the types PgfLzr and PgfParser redundant. 2012-02-18 16:22:40 +00:00
kr.angelov 75b724ab54 libpgf: simplify the loading of PgfCncCat 2012-02-17 14:26:08 +00:00
kr.angelov 1bb13787a7 libpgf: added printer.c 2012-02-17 14:11:29 +00:00
kr.angelov 92cbbe9173 libpgf: switch to using callbacks and lazy prediction in the parser. this reduce the parsing time from 11 sec down to 3 sec. 2012-01-26 12:32:26 +00:00
kr.angelov 0e05fc08d5 libpgf: use a temporal pool for allocating the arrays in the continuation map of the parser 2012-01-26 09:03:08 +00:00
kr.angelov 469d8cf804 libpgf: fix a warning in reader.c 2012-01-26 08:58:23 +00:00
kr.angelov 51def0c381 libpgf: fix in string.h 2012-01-26 08:58:03 +00:00
kr.angelov b62d57fd30 libpgf: few fixes to make the loading of grammars with def rules possible 2012-01-24 14:47:11 +00:00
kr.angelov 5b96b55184 libpgf: extra_ccat is now redundant and was removed 2012-01-23 19:47:08 +00:00
kr.angelov 81191787fe libpgf: forgot to add utils/pgf-print.c 2012-01-23 16:34:02 +00:00
kr.angelov d8cfb13715 pgf-translate: add \n at the end of two error messages 2012-01-23 15:51:37 +00:00
kr.angelov 21dee01c9d libpgf: debugging framework for the parser 2012-01-23 15:49:29 +00:00
kr.angelov f2cfa9888e libpgf: the concrete categories were allocated from the temporary pool 2012-01-23 13:43:17 +00:00
kr.angelov e9014902ef libpgf: printing of literals and flags 2012-01-23 10:17:20 +00:00
kr.angelov c5b4e5388a libpgf: move the lindefs field from PgfCncCat to PgfCCat. display the list in the grammar printout 2012-01-23 09:46:45 +00:00
kr.angelov 64a00dad48 added an API for printing the PGF to human readable format 2012-01-21 10:27:55 +00:00
kr.angelov 1acb722ba2 fix the crash in the reader when there aren't any productions per category. 2012-01-21 10:25:43 +00:00
kr.angelov a369d3bdac initial import of the C runtime 2012-01-20 13:41:10 +00:00
kr.angelov 52f7e703ea the translation script from the Penn format to GF RGL is now in examples/PennTreebank 2012-01-10 19:36:28 +00:00
kr.angelov 5bbd1d6f73 the parser now use nub instead of nubsort which means that the abstract syntax trees will be returned lazily 2011-12-19 13:10:33 +00:00
kr.angelov c20745480f Now graphvizAbstractTree suppress the visualization of implicit arguments. 2011-12-08 09:18:38 +00:00
kr.angelov dcb04d029f Phrasebook is updated for Bulgarian 2011-12-06 13:54:25 +00:00
kr.angelov 1d72e2de7e The typechecker is still unfinished but at least it can typecheck the English resource grammar 2011-12-02 12:33:26 +00:00
kr.angelov fd4066f69f in prelude/Coordination.gf Type --> PType 2011-12-02 10:53:49 +00:00
kr.angelov c953ac4244 missing cases in GF.Grammar.Binary 2011-12-02 09:58:18 +00:00
kr.angelov 9f777aed7e Hopefully complete Value type and a little bit more on computations. 2011-11-30 20:56:31 +00:00
kr.angelov 11a37316da more stuff in the new type checker 2011-11-30 14:55:52 +00:00
kr.angelov 565ae652e4 typos in Prelude.gf: Type --> PType 2011-11-30 14:55:11 +00:00
kr.angelov cac5b9ff0d fix the compilation after the patch for the new type checker 2011-11-29 18:45:51 +00:00
kr.angelov eaaefe73d0 Sketch of the new type checker for the concrete syntax. Enabled only with -new-comp 2011-11-29 12:12:51 +00:00
kr.angelov f1cacffc98 now if some module is compiled with -no-pmcfg then the PMCFG code is generated at the end during the linking phase. Now the default compilation of the libraries with cabal is with -no-pmcfg. 2011-11-24 14:23:04 +00:00
kr.angelov 1f174fe04f make addSequencesB(V) strict. Otherwise we get stack overflow when compiling LangFre 2011-11-22 20:31:58 +00:00
kr.angelov c626262f9a rebuildModule should do location globalization too 2011-11-17 22:11:56 +00:00
kr.angelov 67aa44a620 bugfix in the overload resolution. It was accidentally introduced as part of the per module PMCFG generation 2011-11-17 21:36:45 +00:00
kr.angelov 79ba3c0877 fix in the versioning of the .gfo files 2011-11-15 19:46:02 +00:00
kr.angelov 1b85355d47 now we store version number in every .gfo file. If the file is compiled with different compiler then we simply recompile it. 2011-11-15 19:12:22 +00:00
kr.angelov c73bbeabb4 now the pretty printer in GF has a new mode called Internal. This is the most detailed mode and it can print even things that are not in the GF syntax. For example PMCFG snippets and indirections. 2011-11-15 15:55:45 +00:00
kr.angelov 0163942df9 Now the errors messages from GF.Compile.Update also follow the new format 2011-11-15 15:33:52 +00:00
kr.angelov f47381e578 the indirections in the .gf-tags files now point directly to the origin of the corresponding indentifiers 2011-11-15 14:30:31 +00:00
kr.angelov 48558197a8 more structured format for errors and warnings from the compiler 2011-11-15 13:33:44 +00:00
kr.angelov 9b482722c3 bugfix in the new PGF generation 2011-11-14 16:27:59 +00:00
kr.angelov beba7b37f9 remove the -output-file option 2011-11-14 16:10:13 +00:00
kr.angelov e161f93f4d the new design for -tags 2011-11-14 16:08:56 +00:00
kr.angelov bbe42d1e90 Now PMCFG is compiled per module and at the end we only link it. The new compilation schema is few times faster. 2011-11-10 14:09:41 +00:00
kr.angelov a8aef4278e remove few obsolete options from GF.Infra.Options 2011-11-10 09:02:46 +00:00
kr.angelov d058394219 qualified names in the tags file 2011-11-04 16:20:41 +00:00
kr.angelov 54019c75ae merge GF.Infra.Modules and GF.Grammar.Grammar. This is a preparation for the separate PGF building 2011-11-02 13:57:11 +00:00
kr.angelov bc35626489 Now the compiler maintains more precise information for the source locations of the different definitions. There is a --tags option which generates a list of all identifiers with their source locations. 2011-11-02 11:44:59 +00:00
kr.angelov a83f9417c7 fix in DictEng.gf -> find is irregular verb 2011-10-28 09:17:33 +00:00
kr.angelov 5f9338e18a add Windows binary 2011-10-26 13:30:42 +00:00
kr.angelov 1964660d67 added ParseEng/ParseEngAbs which is the grammar used for parsing PennTreebank 2011-09-28 07:51:10 +00:00
kr.angelov b0913f1ee5 add around_AdN in DictEng.gf 2011-09-23 14:36:01 +00:00
kr.angelov 0715bd811c few extensions to DictEng taken from the obsolete OaldStructural.gf 2011-09-23 12:06:03 +00:00
kr.angelov 56630bcbb6 remove the obsolete parse grammar 2011-09-23 09:42:22 +00:00
kr.angelov 1df6197c57 remove the fake adjective alright_A from DictEng 2011-09-23 09:19:02 +00:00
kr.angelov a112c56e74 change the precedence for the left argument of -> 2011-09-22 16:24:02 +00:00
kr.angelov 9bd15b0777 fix in the proof search. when we start the generation from a template, we must start the refinement from the expression that the typecheker generated 2011-09-21 13:30:09 +00:00
kr.angelov d11fe7819d remove ins_N from DictEng since it duplicates in_N 2011-09-09 13:11:00 +00:00
kr.angelov f7f6953050 few more fixes in the NLG grammar 2011-08-30 17:29:13 +00:00