Commit Graph
100 Commits
Author SHA1 Message Date
krasimir a977b48b1e even more compact binary representation. saldo < 19MB 2008-10-28 16:54:46 +00:00
krasimir 0762bd40ea Data.Binary should use Data.ByteString.copy when decoding ByteStrings 2008-10-28 16:43:00 +00:00
krasimir 44391a9125 remove some traces that I left by incident 2008-10-28 16:31:30 +00:00
krasimir a35919542f remove some redundant imports of GF.Text.UTF8 2008-10-28 15:47:04 +00:00
krasimir 5e23cece4b forgot to add PGF.Binary 2008-10-28 15:40:10 +00:00
krasimir e44448bad0 binary serialization for PGF 2008-10-28 13:57:10 +00:00
krasimir 8a4cb6ba1d define Read and Show instances for Expr and Tree 2008-10-28 12:22:34 +00:00
krasimir 799c915170 fix typo 2008-10-25 20:44:04 +00:00
krasimir c641cdedb9 Windows fix: the default coding isn't utf8 but the current system codepage. The se command changes the codepage as well as the coding 2008-10-25 20:26:48 +00:00
krasimir 96e39ced12 add cp1252. usefull for Swedish and German 2008-10-25 20:25:09 +00:00
krasimir 4fe931c67f extend the cp1251 coding to cover all cyrillic letters 2008-10-25 20:22:06 +00:00
krasimir c658f4057e fix the word completion in the shell 2008-10-22 11:27:01 +00:00
krasimir b303201200 fix a typo. It is option "-cat" not "-type" 2008-10-22 09:36:50 +00:00
krasimir c72ee23d85 efficient and nicer implementation for literal categories 2008-10-21 14:30:36 +00:00
krasimir 16dacfdd45 the literal categories were slowing down the parser 3 times. this is quick and dirty workaround until I find something cleverer. 2008-10-20 15:38:59 +00:00
krasimir d474800250 fixed typo in the Haddock documentation 2008-10-20 12:24:07 +00:00
krasimir 14cd21db6d more test/srg to examples/test/srg 2008-10-20 11:11:59 +00:00
krasimir 31ccbdb34c added parser test suite 2008-10-20 09:40:09 +00:00
krasimir 1ddb738459 preparation for dep. types. The -cat option can take any type instead of just a category. The PGF API is generalized as well. 2008-10-20 08:42:39 +00:00
krasimir 5dfab9e431 export wildCId from PGF.hs 2008-10-20 07:56:32 +00:00
krasimir ef0ff58516 add parser and pretty printer for types 2008-10-20 07:52:14 +00:00
krasimir d27b017c7f move the literal category names to PGF.Macros 2008-10-19 14:21:58 +00:00
krasimir 286be2e4d9 move PGF.Quiz to GF.Quiz. It is not part of the PGF API 2008-10-19 16:38:56 +00:00
krasimir bb6623f6e7 high-order syntax in PMCFG 2008-10-15 14:58:00 +00:00
krasimir 063b82cf6c rename some variable names 2008-10-15 09:43:15 +00:00
krasimir cdff4db5c4 rename emptyFRulesEnv to emptyGrammarEnv 2008-10-15 09:26:01 +00:00
krasimir 8386c8b939 threat category _Var as a literal category 2008-10-15 08:38:34 +00:00
krasimir b01fcc8c3c generate metavariables in the tree extraction for PMCFG 2008-10-15 08:02:12 +00:00
krasimir ebef7ecb7b store the total number of PMCFG categories in the PGF file 2008-10-15 07:47:57 +00:00
krasimir 50fc82d4db literal categories in the incremental parser 2008-10-14 15:29:50 +00:00
krasimir 94bc0c9032 pass the full Tokn type to the add function not just the KS string 2008-10-14 13:29:45 +00:00
krasimir e94f1cf2c7 remove trace in the PMCFG compilation 2008-10-14 09:40:55 +00:00
krasimir 1fc909c101 the new optimized incremental parser and the common subexpression elimination optimization in PMCFG 2008-10-14 08:00:50 +00:00
krasimir fa4003535f register PGF.AbsCompute and PGF.Paraphrase in GF.cabal 2008-10-14 07:57:32 +00:00
krasimir cdca907909 remove GF.Source.ErrM from GF.cabal 2008-10-13 20:03:29 +00:00
krasimir 21028dbe94 the parameter for RS and RCl should be Agr and not GenNum (bulgarian) 2008-10-07 18:17:32 +00:00
krasimir 86a6e282da fix the translation of "fat" in bulgarian 2008-10-01 09:37:59 +00:00
krasimir 9827f433fb build parsers on demand if they aren't in the PGF file 2008-09-16 15:35:15 +00:00
krasimir a0fb2a0b0b fix the segmentation fault with Swedish 2008-09-16 15:11:06 +00:00
krasimir 23f2f0ae00 bump version number to beta2 2008-09-10 09:59:50 +00:00
krasimir 2d6e7ad625 print the search path when we can't find a module 2008-09-10 08:55:16 +00:00
krasimir e6936b5f8b tiny fragment of Turkish 2008-07-30 06:39:07 +00:00
krasimir c52d1074c4 change the path from resource-1.4 to resource in cabal 2008-06-28 08:41:48 +00:00
krasimir 62bca15468 change the version number to beta in cabal 2008-06-27 10:46:21 +00:00
krasimir bff0a96b0b the shell now supports cp1251 coding with se command. works with the word completion as well 2008-06-27 10:33:46 +00:00
krasimir 8cdad08ad9 remove the comments about the meta variables. They are not relevant anymore 2008-06-23 14:32:55 +00:00
krasimir 893a929c28 typo in the PGF documentation 2008-06-23 14:23:14 +00:00
krasimir 71e3ce5107 added type signature for expr2tree to make it visible for haddock 2008-06-23 14:12:40 +00:00
krasimir c140794c98 fix the digits spelling in bulgarian 2008-06-23 12:21:31 +00:00
krasimir 0122ef5889 hfix the definitive article in case of NP with postmodifing AP 2008-06-23 11:13:28 +00:00
krasimir 133680fe20 the Makefile should generate Paths_gf.hs with GF_DATA_DIR instead of GF_LIB_DIR 2008-06-23 08:53:09 +00:00
krasimir b3d03db7bd fix Haskell embedded grammars 2008-06-23 08:48:17 +00:00
krasimir 682ff7040a yBGLexicon is not part of the distribution -> remove from cabal 2008-06-19 15:05:59 +00:00
krasimir b7be040be6 move the prelude sources to the prelude directory and add the resource library to cabal 2008-06-19 14:16:05 +00:00
krasimir 0808aa8936 fix the lock fields in MorphoFunsBul.gf 2008-06-19 13:02:48 +00:00
krasimir c0d22bec2d split the Exp type to Tree and Expr 2008-06-19 12:48:29 +00:00
krasimir e5969581bc two more tests are moved to exx-resource.gft 2008-06-17 08:07:30 +00:00
krasimir a62bd0708a rename reflV to medialV as it is in the paper 2008-06-16 08:59:07 +00:00
krasimir 49eefbb2ad QForm is more appropriate parameter than Species in IAdv and IP 2008-06-15 12:38:12 +00:00
krasimir 89bd8eeb74 Switch to indirect questions in ComplVQ & SlashV2Q 2008-06-15 12:12:53 +00:00
krasimir d9cea4b50d fix typo: RVocative => RVoc 2008-06-15 11:58:18 +00:00
krasimir 1ab4f13416 add definite forms for IAdv,IDet,IP, etc 2008-06-15 11:23:36 +00:00
krasimir 06b527283e replace one test case with more meaningful one 2008-06-15 11:13:53 +00:00
krasimir a3c6fef6ae fix the command line parser 2008-06-15 09:21:59 +00:00
krasimir d9cca2146d fix CleftAdv in bulgarian-1.4 2008-06-15 09:08:14 +00:00
krasimir 6d3331a1c6 ExistIP in bulgarian-1.4 2008-06-15 09:00:58 +00:00
krasimir f4aeb1554b even more testcases 2008-06-15 08:39:51 +00:00
krasimir 7a561ff025 minor fixes in the lexicon 2008-06-15 08:39:24 +00:00
krasimir 20209ce716 completely redesigned VP. Added ReflVP in bulgarian-1.4 2008-06-15 08:35:52 +00:00
krasimir da6330c7b7 fix the syntax convention in DetArtOrd 2008-06-14 07:01:32 +00:00
krasimir 148afd1e01 remove the spec field in PossPron it is redundant 2008-06-14 07:00:53 +00:00
krasimir e46049aab9 in vocative case don't use definite possesive pronouns 2008-06-14 07:00:22 +00:00
krasimir e8cc01b9db the imperatives dojdi and dojdite are archic use the greek ela and elate 2008-06-14 06:58:16 +00:00
krasimir 19ac91fa21 add "na" if possess_Prep is used 2008-06-13 22:41:15 +00:00
krasimir 1ad2aad18f rename the s2 field in VP and VPSlash to compl 2008-06-13 22:27:59 +00:00
krasimir 9ad1cb5749 fix the imperative forms and the subjRole in SlashVV and SlashV2VNP 2008-06-13 22:12:07 +00:00
krasimir 7e3c02e641 three more tests for SlashVV 2008-06-13 22:06:36 +00:00
krasimir 6f0f9571bc fix the word order and agreement in SlashV2VNP 2008-06-13 21:09:41 +00:00
krasimir a9cd62799c add extra test for the agreement with RelSlash and SlashV2A 2008-06-13 20:34:36 +00:00
krasimir 610574e845 fix the agreement for ClSlash & SSlash 2008-06-13 20:32:33 +00:00
krasimir 7679730d0f rename the vp variable to slash in ComplVV and ComplV2VNP 2008-06-13 19:43:52 +00:00
krasimir d4d33fc5ed fix the object-complement agreement in ComplSlash 2008-06-13 19:43:03 +00:00
krasimir 2166d9ce54 test for known from Janna 2008-06-13 18:23:17 +00:00
krasimir db2305286f the verb know is a special case. It doesn't have passive but the adjective izwesten is used instead 2008-06-13 17:44:36 +00:00
krasimir 4f642d0d9e fix the translation of learn_V2 2008-06-13 15:55:40 +00:00
krasimir 8d13418637 use verbBe instead of verbWould in PassV2 in bulgarian-1.4 2008-06-13 15:54:53 +00:00
krasimir c3493e1661 fix ImpPl1 2008-06-13 15:44:14 +00:00
krasimir ccf149caac yet another of Janna's examples is in the testsuite 2008-06-13 15:42:49 +00:00
krasimir da6559544e add some more cases in the testsuite. taken from Janna's examples 2008-06-13 14:27:57 +00:00
krasimir 6080d7f384 fixed the linearization for both7and_Conj and either7or_Conj 2008-06-13 13:57:50 +00:00
krasimir e71b54318f fix the [AP] construction in bulgarian-1.4 2008-06-13 11:59:32 +00:00
krasimir 0f10ebd23b fix the word order in SlashV2V 2008-06-12 18:41:33 +00:00
krasimir e969ea61af set the bulgarian-1.4 grammar in erasing mode 2008-06-12 13:36:06 +00:00
krasimir 43f8ec9228 fix the tree extractor in the incremental parser to check for cyclic charts and coercion rules. 2008-06-12 13:34:47 +00:00
krasimir 8f8709b9fa add generation of erasing PMCFG grammars 2008-06-12 13:11:38 +00:00
krasimir 67c43b8251 use import System.Cmd instead of import System. It is in the process package and we already depend on it. 2008-06-11 14:00:04 +00:00
krasimir 3241b03d8a fix the word order in SlashV2A in bulgarian-1.4 2008-06-11 09:30:38 +00:00
krasimir 808126fa19 bugfix: the SlashV2A definition was repeated in bulgarian-1.4 2008-06-11 08:51:17 +00:00
krasimir 8742cb7b60 bugfix: wrong case was used in Slash3V3 in bulgarian-1.4 2008-06-11 08:49:59 +00:00
krasimir d0887407f9 typo - latin a was used instead of cyrilic 2008-06-10 21:24:09 +00:00