Commit Graph
100 Commits
Author SHA1 Message Date
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
krasimir ab0b9d44fa added IdiomBul 2008-03-14 17:07:06 +00:00
krasimir 4fcf3bd7f2 whichRP is replaced by suchRP to match closely the English grammar 2008-03-14 16:57:27 +00:00
krasimir 391814208c GSg Neut seems to be better translation in UttVP 2008-03-14 16:56:11 +00:00
krasimir 15346b984d the youPol_Pron was in singular by mistake 2008-03-14 16:55:27 +00:00
krasimir a2b32217b3 added agrP3 function like in the other languages 2008-03-14 16:54:48 +00:00
krasimir dce027caf8 the dative preposition (naP) should be actually empty 2008-03-14 16:52:12 +00:00
krasimir 9ec69dbe78 fix the translation of die 2008-03-14 16:51:03 +00:00
krasimir d77c57953c added kolkoto in the ComparAdvAdjS clause 2008-03-14 16:48:38 +00:00
krasimir 09aebf98ec SentCN should return gender DNeut 2008-03-13 13:41:02 +00:00
krasimir d3c79851f1 more appropriate translations for become_VA and everything_NP 2008-03-13 13:39:23 +00:00
krasimir ff7dc2006a add the bgoffice import program and the produced dictonaries 2008-03-13 11:18:32 +00:00
krasimir 51288c77eb completed LexiconBul.gf 2008-03-13 10:49:41 +00:00
krasimir ceb5f3d110 added some other morpho categories which aren't in the abstract syntax but are used in the lexicon 2008-03-13 10:47:56 +00:00
krasimir 4683e4e0e2 fixed the N2 and N3 representation and added constructor functions 2008-03-13 10:45:22 +00:00
krasimir 4f0126677b the gender for paradigm 32a is changed to DMascPersonal 2008-03-13 09:20:47 +00:00
krasimir 2834c71138 added some more nouns 2008-03-13 09:19:47 +00:00
krasimir f056583f37 Reorganize the ParadigmsBul & co modules. Now ParadigmsBul is auto-generated and contains all BG paradigms. The Lexicon is also largely extended 2008-03-13 08:28:30 +00:00
krasimir 418f841625 In UttVP add the transitive verb args 2008-03-13 07:20:03 +00:00
krasimir e0bffc2797 Use Acc case in ComparA 2008-03-13 07:15:48 +00:00
krasimir e434f57eff added mkVA and become_VA 2008-02-29 15:46:25 +00:00
krasimir 7994a12e1a add ComplVQ, ComplVA and ComplV2A 2008-02-29 15:35:00 +00:00
krasimir 4b9d76dbe6 fix missing lock_Sub1000 warning 2008-02-29 15:34:05 +00:00