Commit Graph
100 Commits
Author SHA1 Message Date
krasimir c515d7c4dc three more points in the release notes 2015-06-17 13:08:03 +00:00
krasimir 2f2f459a89 forgot changes in the serialization in the Haskell runtime 2015-06-17 12:58:46 +00:00
krasimir e352742b8c the orthographic tokens were broken when they appear inside a dictionary entry. Now this is fixed by treating those as syntactic rules 2015-06-12 13:03:19 +00:00
krasimir ac01e5019a fixed typo in the Haskell runtime 2015-06-11 07:41:28 +00:00
krasimir 9b0edaacdb print error message for missing abstract categories in the C runtime 2015-06-05 07:41:59 +00:00
krasimir 786da46a99 added callback in C for unknown words 2015-05-19 09:15:48 +00:00
krasimir 616a24cba4 the NERC in C is now fully up-to-date with the other NERCs. In addition the NERC in Haskell and Java now refuses to recognize names that match words in the lexicon. The latest is useful for German 2015-05-19 07:26:56 +00:00
krasimir 09a57b34a8 bugfix in the NERC in C 2015-05-18 15:02:44 +00:00
krasimir ce05465365 the callbacks in C now take the concrete syntax as a parameter 2015-05-18 14:41:33 +00:00
krasimir 773a33979b pgf_lookup_morpho and pgf_lookup_word_prefix are now also case insensitive if case_sensitive=off 2015-05-18 14:20:35 +00:00
krasimir b4e41cabdd "flags case_sensitive=off" makes the parser case insensitive 2015-05-11 14:11:42 +00:00
krasimir 1e0d7be4f4 added all orthographic primitives 2015-05-11 13:01:39 +00:00
krasimir 13998e3287 implemented CAPIT in parsing 2015-05-08 18:54:50 +00:00
krasimir 483df35954 fix in the dictionary lookup 2015-05-08 18:12:24 +00:00
krasimir ea0f74d455 a new nice and elegant algorithm for dictionary lookup in the parser 2015-05-08 14:38:24 +00:00
krasimir 365c7bb1d8 the parser is now fully Unicode compatible 2015-05-08 09:23:29 +00:00
krasimir b961e9a255 fix gu_ucs_is_space in libgu 2015-05-07 15:50:55 +00:00
krasimir bf3b6f2794 fix the NERC in C to work for PN as literal 2015-05-07 15:16:55 +00:00
krasimir 7e43e5727a fix pgf-translate to use the NERC again 2015-05-07 14:49:30 +00:00
krasimir 01c4836d4d fix the UTF8 implementation in libgu 2015-05-06 15:51:12 +00:00
krasimir 3649412ce2 use a temporary pool for linearizeAll in Haskell too 2015-04-27 19:39:16 +00:00
krasimir 82eeb3ef2b fix a memory management error in linearizeAll in the python binding. a new temporary pool is used on every iteration to keep memory allocation to constant 2015-04-27 19:27:11 +00:00
krasimir c1129e15fa fix warning in the Python binding 2015-04-27 18:33:18 +00:00
krasimir 5f25804b73 mark two more functions as static in the Python binding 2015-04-27 18:24:21 +00:00
krasimir fc4b39d65f make linearizeAll in the Haskell binding lazy 2015-04-27 16:28:45 +00:00
krasimir 27bd12ce67 forgot to update gf.cabal 2015-04-20 12:25:52 +00:00
krasimir 8c697b72a4 drop the dependency to FST 2015-04-20 11:56:13 +00:00
krasimir 5d7633fdb4 added getpagesize() definition for Windows 2015-04-20 09:57:28 +00:00
krasimir aebc868c22 fix in the Haskell binding for Windows 2015-04-20 09:55:15 +00:00
krasimir 86e16d9e3d added linearizeAll in the Haskell bindings 2015-04-17 12:33:22 +00:00
krasimir 4221757895 bugfix in the java binding 2015-04-16 13:53:03 +00:00
krasimir e72fcb1513 fix the compilation of gu/mem.c on Windows. For now memory mapped pools on Windows are just not supported. 2015-03-19 09:28:31 +00:00
krasimir 8f0624bc30 remove the meta_item variable from the parse state 2015-03-06 15:18:50 +00:00
krasimir 0238579610 remove some more old code 2015-03-05 14:47:36 +00:00
krasimir 7539809461 removed some operations in GeneratePMCFG. They didn't work well with variants and are now obsolete with the new partial evaluator 2015-03-05 13:58:18 +00:00
krasimir a5817ff492 fix some out-of-date code for the PGF_RESULT_DEBUG mode in the parser 2015-02-26 13:31:26 +00:00
krasimir 9c83b2e27d use the same trick for comparison of doubles in cmp_expr_state 2015-02-26 13:10:01 +00:00
krasimir 532647c978 bugfix in the parser which caused some items to be poped in the wrong order if their probability differ with less that 0.5 2015-02-26 12:17:59 +00:00
krasimir 715ac1ca62 remove three more uses of meta productions that were left in debugging mode 2015-02-24 10:59:18 +00:00
krasimir da11a7127f implemented escape characters when reading/printing an abstract expression with string literals 2015-02-24 09:35:12 +00:00
krasimir 218c6be0a7 fix in thai_page2.xml 2015-02-20 15:31:32 +00:00
krasimir 70a71a6f0e set the keyboard pages for Thai in Translator.java 2015-02-20 14:26:30 +00:00
krasimir b864601cb9 experimental Thai keyboard (still not tested) 2015-02-20 14:08:12 +00:00
krasimir f848857519 added option -plus-as-bind which treats (+) as a bind when used with runtime variables 2015-02-20 13:26:12 +00:00
krasimir 8fae104957 remove the meta prob flags 2015-02-20 13:00:51 +00:00
krasimir e893d41393 silence some warnings in GNU Lightning for i386_64 2015-02-19 12:53:52 +00:00
krasimir b92bbcfc37 parsing with meta rules is now removed since we don't use them anymore and I would gladly remove some code. 2015-02-19 11:59:51 +00:00
krasimir 39bbe68adf fix the missmatch between Int and CInt in the Haskell binding to the word alignment API. This was causing problems on 64-bit machines 2015-02-18 17:05:35 +00:00
krasimir f3797bb313 fix the callback for unknown words as well 2015-02-18 16:47:33 +00:00
krasimir a97dee067a fix in the callback for names in the Haskell binding 2015-02-18 16:41:13 +00:00
krasimir e3a87c657b fix in the parser for callbacks in the middle of a word 2015-02-18 16:14:29 +00:00
krasimir 18519c20fd fix the grammar browser in the editor 2011-03-08 12:32:51 +00:00
krasimir 42ad2d5e95 the user can now upload their own grammars in the editor 2011-03-07 21:05:29 +00:00
krasimir 37d0200c7f added testsuite for the parser 2011-01-10 10:34:09 +00:00
krasimir 5941995c59 fix the computation of abstract expressions in the presence of implicit arguments 2011-01-08 20:55:58 +00:00
krasimir f7a740d1bd fix the definition of functor composition in category theory 2011-01-08 20:43:45 +00:00
krasimir d465292fde bugfix in the handling of implicit arguments in the typechecker 2011-01-08 12:55:50 +00:00
krasimir c8b6192128 The GF editor now lets the user to upload his/her own grammars 2010-12-28 16:26:10 +00:00
krasimir fb722fe8e2 added GrammarsPanel in the GF editor 2010-12-22 13:51:26 +00:00
krasimir d28242c03e tweak gf-server.cabal 2010-12-22 12:32:13 +00:00
krasimir 0aab9833f7 more clear LICENSE file for GF 2010-12-21 10:57:54 +00:00
krasimir 71e0ec4d41 bugfix: GeneratePMCFG should initialize the lexicon to empty 2010-12-17 09:11:04 +00:00
krasimir e4b2b8541f bugfix: setProbabilities should be more robust when there are missing probabilities for some functions or categories 2010-12-17 09:09:07 +00:00
krasimir 505e34aea7 PGFToCFG should use the full production set because the lexicon is now split out 2010-12-14 21:25:43 +00:00
krasimir c571e6ef33 now every parse state keeps reference only to the concrete and the abstract syntaxes but not to the whole PGF 2010-12-14 17:20:53 +00:00
krasimir 7d58efb660 optimization in the parser for large lexicons. Now, the parser is slightly slower for grammars with a small lexicon but 3-4 times faster for the English Resource Grammar used in combination with Oxford Advanced Learners Dictionary 2010-12-14 08:46:22 +00:00
krasimir 0c4f5030c7 update the testsuite for the parser to the latest API 2010-12-13 17:53:06 +00:00
krasimir 73a10e1a66 some more functions in GF.Data.TrieMap 2010-12-08 12:51:37 +00:00
krasimir 0f4927dd40 fixed typos in the documentation for PGF.Parse 2010-12-08 10:32:18 +00:00
krasimir b6446ec36d simple refactoring in PGF.Macros and related 2010-12-06 14:19:51 +00:00
krasimir 0b80b3ef0a command ai in the shell now shows the probability of the tree 2010-11-24 12:51:54 +00:00
krasimir 7a2ab26f9f forgot to add ContentService.java in the GF Editor 2010-11-17 10:46:00 +00:00
krasimir f6a7292ad2 bugfix for the abstract operations 2010-11-15 09:38:31 +00:00
krasimir 115b4213d5 operations in the abstract syntax 2010-11-12 19:37:19 +00:00
krasimir f86ed9677a fix the history management in the editor 2010-11-07 16:17:15 +00:00
krasimir ad28e99f35 preliminary UI for storage/retrieval/search of documents in the GF editor 2010-11-01 09:25:22 +00:00
krasimir 119f7bc78a update the testsuite. Now we can typecheck more programs than before 2010-10-27 17:58:40 +00:00
krasimir 0ba1daf5eb when faced with hard unification problem the type checker should just postpone the decision instead of failing immediately. added test case as well 2010-10-25 15:47:33 +00:00
krasimir aa6b07afdb when we print the bracketed string it is useful to print the attached metavariables as well 2010-10-25 12:21:12 +00:00
krasimir 2aea03a614 update the testsuite to the latest state of the compiler/interpreter 2010-10-25 11:50:41 +00:00
krasimir 84736e5712 fixed typo in GeneratePMCFG.hs. fidFloat -> fidVar 2010-10-25 11:48:17 +00:00
krasimir 2d3340b48a During the compilation, the final message "OK" should be displayed only if we are not in silent mode. This was changed incidentally on the way. 2010-10-25 11:31:16 +00:00
krasimir 822a70cf7a change the TcM monad to continuation passing style. The old monad caused stack overflow for large search spaces 2010-10-21 15:01:52 +00:00
krasimir 4f3b4bb19f added week day's names in SUMO for Bulgarian and Swedish 2010-10-21 14:48:04 +00:00
krasimir 82edf7bebb support for proof search with high-order functions 2010-10-21 12:47:26 +00:00
krasimir 2991b7acef bugfix in the term generation 2010-10-20 13:36:39 +00:00
krasimir d45b4ae426 fixed typo which broke the parsing with -openclass 2010-10-20 09:04:48 +00:00
krasimir 4ac1cf4970 in the type checker monad we should use lazy pattern matching because otherwise we force the exhaustive tree generation to be strict 2010-10-19 13:04:41 +00:00
krasimir e36cc73b0f in tutorial/smart remove the hack that forced the proof object to be resolved 2010-10-18 12:28:39 +00:00
krasimir 775e59dabe added explicit depth parameter to the parsing API and the corresponding command in the shell 2010-10-18 16:51:25 +00:00
krasimir 205ac48ac3 typo in PGF.TypeCheck which spoiled the previous patch 2010-10-18 16:50:55 +00:00
krasimir 702b4aad3b now we use the GF reasoner to fillin meta variables in the abstract trees generated from the parser 2010-10-18 15:55:14 +00:00
krasimir 9723055350 forgot Birds.gf 2010-10-18 13:03:43 +00:00
krasimir 4e382e3306 translation to English of the Birds dictionary 2010-10-18 11:41:39 +00:00
krasimir ca0214d6a1 small Swedish/Bulgarian dictionary of birds in SUMO 2010-10-18 08:55:51 +00:00
krasimir 9acd33f878 added .authorspellings file in the root directory 2010-10-16 13:10:06 +00:00
krasimir 05a52d6937 now since the type checking monad TcM is nondeterministic we can use the same monad in PGF.Forest.getAbsTrees 2010-10-14 14:28:40 +00:00
krasimir 82214f0be5 generalize the nqueens function in NQueens.gf 2010-10-13 17:53:44 +00:00
krasimir 95713b9489 add start category S in NQueens. This helps the EditorApp to find the start category 2010-10-13 13:53:29 +00:00
krasimir 354838807f use "-" and ";" instead of "_" and "\n" in NQueens 2010-10-13 13:47:22 +00:00