Commit Graph
100 Commits
Author SHA1 Message Date
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
krasimir 31b4d5640f genGenNum operation not needed anymore - remove 2008-06-10 21:23:32 +00:00
krasimir acd37bec0c simplified questions in bulgarian-1.4 2008-06-10 20:11:22 +00:00
krasimir 3c2f45da85 simplify the determiners in bulgarian-1.4 2008-06-09 07:11:32 +00:00
krasimir 5cf3daf609 fix the do_V2 translation 2008-06-08 11:23:26 +00:00
krasimir 7d9f4337d9 add adverbial form to each adjective in bulgarian-1.4 2008-06-08 11:06:30 +00:00
krasimir a9ad4dbba6 force the interpreter to flush the output. usefull for the testsuite 2008-06-08 10:35:19 +00:00
krasimir ce06bd457e longname, synopsis and explanation for all commands 2008-06-05 20:48:24 +00:00
krasimir 0797d5940a add mtl dependency in cabal. It is used in the speech grammar generation 2008-06-04 09:27:39 +00:00
krasimir cdb1eaf58f fix conflicts 2008-06-03 16:27:21 +00:00
krasimir a2f4baa78b Redesign and opimize the incremental parser 2008-06-03 16:01:48 +00:00
krasimir 1647026506 Hackish version of the incremental parser 2008-06-03 06:59:44 +00:00
krasimir 356860da00 add the MultiMap module 2008-06-02 10:00:13 +00:00
krasimir a9d27771db use MultiMap from the reference implementation instead of GeneralDeduction and RedBlackTree 2008-06-02 08:38:27 +00:00
krasimir 7bab5ed958 Some more documentation 2008-06-02 07:45:45 +00:00
krasimir e5421e15ea rename GF.Grammar.Refresh to GF.Compile.Refresh in .caba 2008-06-02 07:34:15 +00:00
krasimir 3f3188a430 cleaned up and documented PGF API 2008-05-30 13:07:11 +00:00
krasimir 56c34b5dd8 replace GFCC with PGF in (almost) all places 2008-05-30 11:15:33 +00:00
krasimir 587eed4eaa change the PGF.Data.Exp type 2008-05-30 09:10:28 +00:00
krasimir 3d2ce9216d don't need SyntaxTree anymore. Use PGF.Data.Exp directly 2008-05-30 07:23:00 +00:00
krasimir 3f2f0d1bea change the library root namespace from GF.GFCC to PGF 2008-05-29 17:55:05 +00:00
krasimir cb374f5617 drop the GF.Command.* dependencies in the library 2008-05-29 16:53:24 +00:00
krasimir f116071ce5 drop the dependency to GF.Infra.PrintClass from the Library 2008-05-29 15:15:00 +00:00
krasimir 12538e8f2a rearrange the other-modules field 2008-05-29 12:40:32 +00:00
krasimir 9d52772d86 move the parsing related stuff to GF.GFCC.Parsing 2008-05-29 12:38:09 +00:00
krasimir 7fc0aec243 move GF.Parsing.FCFG.PInfo to GF.GFCC.BuildParser and rename FCFPInfo to ParserInfo 2008-05-29 12:27:26 +00:00
krasimir 97569244af move GF.Formalism.FCFG types to GF.GFCC.DataGFCC 2008-05-29 12:08:45 +00:00
krasimir 687173736c simplify FSymbol type 2008-05-29 11:43:28 +00:00
krasimir ce03503702 Simplify the Input type. Remove Edge and use only Range type 2008-05-29 11:20:40 +00:00
krasimir ad62be0dde remove Symbol type 2008-05-29 11:00:21 +00:00
krasimir a8acdd5cc5 simplify the Profile type and remove the NameProfile type 2008-05-29 10:55:34 +00:00
krasimir d55f529a6e if optShowCPUTime is off just print \n in putPointE 2008-05-29 07:34:29 +00:00
krasimir 449cfc1e49 move GF.Conversion.SimpleToFCFG GF.Compile.GenerateFCFG 2008-05-28 08:35:31 +00:00
krasimir 50a1381a27 print the "linking..." message when building the GFCC code 2008-04-29 09:44:43 +00:00
krasimir dd713cf28f let the putPointE print the time in msec 2008-04-29 09:43:35 +00:00
krasimir 46ef4edf59 remove the obsolete putCPU, putPoint and putPoint' functions 2008-04-29 09:22:57 +00:00
krasimir b2701fe4e0 add ModEnv to CompileEnv. This removes the need to read one and the same time twice when multiple grammars are loaded. 2008-04-29 09:03:43 +00:00
krasimir 8184dc5512 use cannonicalizePath in getFilePathMsg. This returns an absolute path and removes the .. indirection 2008-04-25 15:53:02 +00:00
krasimir 3aeb52b2b4 completely rewriten readFiles implementation. Much simpler and more efficient 2008-04-25 15:50:54 +00:00
krasimir 3efe9ea55d use putStrLn instead of print to dump error messages. This avoids the double quotes 2008-04-25 15:49:53 +00:00
krasimir e332bd6214 fix the System.FilePath import for Posix 2008-04-22 20:06:05 +00:00
krasimir b5e4b73273 fix complete pattern in isOldFile 2008-04-22 13:09:14 +00:00
krasimir 30f221cbb4 gfLibraryPath is actually an environment variable not a file path. Use the current directory instead. 2008-04-22 12:18:39 +00:00
krasimir 2a7c68ad65 move gfLibraryPath and gfGrammarPath to UseIO. Now they are accessible and there is only one place to change if you want to use different envVar 2008-04-22 12:12:29 +00:00
krasimir e16215940e use the standard System.FilePath module instead of our own broken file path manipulation functions 2008-04-22 11:39:46 +00:00
krasimir caa6082b82 isOldFile should use the real lexer instead of "words" this avoids the need for custom unComm function 2008-04-22 08:52:11 +00:00
krasimir 082668f182 Use Happy grammar for imports extraction instead of hand made shallow crapy grammar 2008-04-22 08:33:23 +00:00
krasimir 1858db942c Some more ByteString related chandes in GF2 2008-04-17 13:22:10 +00:00
krasimir 4a8346086d ByteString.readFile should be used instead of readFileStrict. This fixes the problem with the open files 2008-04-17 12:56:46 +00:00
krasimir 07900af066 gf3 should not exit if there is a syntax error in the file 2008-04-17 12:50:51 +00:00
krasimir 2498fe7ee8 Major refactoring -> lexical aspect; word order in VP 2008-04-05 17:18:47 +00:00
krasimir da5200f02a optimized incremental algorithm 2008-03-30 19:57:05 +00:00
krasimir 0d9eb13a53 don't use the countable form for masculine animate 2008-03-15 12:20:06 +00:00
krasimir ee6caecf51 fix syntax error 2008-03-15 12:15:02 +00:00
krasimir 6c32384f4f improve the lexicon 2008-03-15 12:13:11 +00:00