Commit Graph

34 Commits

Author SHA1 Message Date
David Bamutura
b2e2631269 All structural words and most of the linearization functions for LexiconCgg have been provided 2020-10-24 03:05:05 +03:00
David Bamutura
6ca4907c11 =Added linearisations for several lexical items. The linearization type for adjectives was modified to cater for certain adjectives that are negatives of others. An example is certain and uncertain 2020-10-22 00:02:51 +03:00
David Bamutura
5dc5433068 Made sutitable changes that were wanrranted due to
changes in linearization types for Verbs to include information
about particles and checks on source of complements i.e.
Verb : Type = {
                      s : Str;
                      pres:Str;
                      perf:Str;
                      --morphs: VFormMini => VerbMorphPos=> Str;
                      isPresBlank : Bool;
                      isPerfBlank : Bool;
                      isRegular: Bool
                    };
changed to:
Verb : Type = {
                      s : Str;
                      pres:Str;
                      perf:Str;
                      --morphs: VFormMini => VerbMorphPos=> Str;
                      isPresBlank : Bool;
                      isPerfBlank : Bool;
                      isRegular: Bool;
                      p : Str;  -- some verbs have particles such as prepositions and adverbial that give the verb a meaning different from what would be automatically deduced
                      isRefl : Bool
                    };
2020-10-12 23:18:27 +03:00
David Bamutura
7c997ea280 1. Created Linearization types for V2V as Res.Verb ** {comp,c3 : Str ; typ : Res.VVType} ; but however I have eerors with mkV2 overload methods and lock_C fields. I cannot seem to find out the reason for the error. 2020-10-12 17:31:40 +03:00
David Bamutura
7403f44eda =I have made changes to my structure for addition of the full Tense Structure for Rukiga 2020-06-26 17:34:33 +03:00
David Bamutura
203ea9c061 =made changes to UseCl by correcting tense linearization. Added some extras. Peparing to extend GF 2020-06-25 17:11:47 +03:00
David Bamutura
a21df23da5 redesigned the Verb, VerbPhrase, Cl and RCL so as to check for empty tense Markers and hence correct errors with Copulative statements. The Problem with Numeral still remains 2019-11-28 07:12:57 +03:00
David Bamutura
ba4db3d913 =I have managed to model the Verb and delay the Verbal template mophology for tense, Anteriority and polarity to only points when the actual sentence of verb is built. My only problem is including it in the default linearizations within cat 2019-06-05 02:39:15 +02:00
David Bamutura
4eec043991 =Made changes so that I can have one parameter for Position. Also modified Adjectives according to the unofficial notion of Degree i.e Postive, Comparative and Superative 2019-06-04 19:41:08 +02:00
David Bamutura
458706694d =Corrected an error in paradigms to recognize smartNoun paradigm 2019-06-03 20:46:19 +02:00
David Bamutura
22c6d5aae4 Prepared the NounPhrase and its children for the ListNP with a field describing whether the first work in NPP is a Proper Noun or a common Noun. Are NPs always common Nouns? RR treats these things differently. Phonological conditioning is also required. This is my next step 2019-05-30 17:56:04 +02:00
David Bamutura
0ee7f24982 Implemented QuestIComp in QuestionCgg.gf and edesigned IAdv, IP and IComp 2019-05-30 15:30:54 +02:00
David Bamutura
9488cae6f4 =Made some grammatical corrections based on tes grammar and worked on most functions in QustionCgg.gf 2019-05-24 06:47:57 +02:00
David Bamutura
304b877854 =Remodelled RS to accomodate RelCN and RelNP appropriately and give both direct and direct relative prnouns 2019-05-24 02:20:02 +02:00
David Bamutura
366d6cd38e =ReImplemented UseCl to cater for all 3 Tense and 1 Coditional mood Form 2019-05-20 16:48:00 +02:00
David Bamutura
9b0cbc63ec =Corrected the type of Imp because Bool produced False as default hence negative form of Imperative be = taba instead of ba. Why does GF compute for false first by default? Is it data Bool = False | True? 2019-05-19 06:31:16 +02:00
David Bamutura
cc165875f5 =corrected the error and added two more Functions in Verb.Cgg. The cause of error was repeated record lable in the same record in ResCgg.gf for VerbPhrase 2019-05-17 00:19:09 +02:00
David Bamutura
cdc9fe3072 =An error in CatCgg after implementing most of the verb functions. The error is: src/compiler/GF/Compile/GeneratePMCFG.hs:137:11-36: Irrefutable pattern failed for pattern [newCat] 2019-05-16 23:23:04 +02:00
David Bamutura
18057c6e9c Implemented all the remaining lin functions which required a change in the ResCgg.gf. This change may not be needed now as I have not used it 2019-05-15 21:10:02 +02:00
David Bamutura
08d1598319 Atempted at implementing all the remaining Functions under Noun.gf and its dependencies in CatCgg.gf, LexiconCgg.gf, ParadigmCgg.gf, StructuralCgg.gf and ResCgg.gf 2019-05-15 06:29:19 +02:00
David Bamutura
355fcc2e6d Some corrections made and functions added 2019-05-14 09:23:09 +02:00
David Bamutura
38b29c7071 modified Noun to accommodate for IDetCN in Question 2019-05-14 03:53:11 +02:00
David Bamutura
1dbd1b535f Added Interrogative adverbs abd Pronouns. Not working Properly. 2019-05-14 02:04:32 +02:00
David Bamutura
64f7bdb967 Restuructured Pron, which affected Quant and all the functions that use it. 2019-05-10 23:03:09 +02:00
David Bamutura
681e459d0b Made adjustments to thisQuant and That_Quant 2019-05-10 18:23:44 +02:00
David Bamutura
19870f6b38 Worked on DetQuant in Noun and Digits in Numeral 2019-05-10 14:56:02 +02:00
David Bamutura
c2691eda44 Added functionality for V3 in lexicon, rearranged the Paradigms to accomodate it. Implemented Slash2V3 and Slash3V3 2019-05-06 23:15:56 +02:00
David Bamutura
48aa65d2dd Made changes to the nature of adjective so that it linearises 2019-05-06 16:21:34 +02:00
David Bamutura
7d903526f5 Correction of errors in ResCgg.gf and Numeral.gf regarding generalization of n2-n9 2019-05-06 02:11:21 +02:00
David Bamutura
5af7fd2fa9 Half the implementation of Numerals. However, pot2plus still problematic. Ordinal numerals also problematic 2019-05-06 01:29:47 +02:00
David Bamutura
7d49c87d1e worked on the Relative Pronoun (RP) found produced by the function IdRP 2019-05-05 16:01:46 +02:00
David Bamutura
b18ffa9d0b Correction of all compilation mistatkes 2019-05-03 16:43:17 +02:00
David Bamutura
66474465e3 Covered PredetNP & PrepNP in NounCgg.gf & AdverbCgg.gf alongside Predet & Adv Lexicon in StructuralCgg.gf. Errors in SentenceCgg.gf because the verb system is still a mess. 2019-05-03 03:57:11 +02:00
David Bamutura
373a261558 Initial Files for Rukiga RGL brough from previous coding before git tracking 2019-04-11 17:38:19 +02:00