Commit Graph

3027 Commits

Author SHA1 Message Date
David Bamutura
2ef7fed0d2 =there is a bug with CompNP because we cannot fix Number agreement for the Noun. A hack can be to include the Noun info into the nounphrase 2020-10-27 00:20:51 +03:00
David Bamutura
02d92f6cc9 =Modified UseComp to correctly apply Adverbs, Adjectives and Nouns as proper complements when forming a VP based on the verb to be. However in Rukiga, sometimes the verb ba or ri are used. I have left the application of the right form to post-processing 2020-10-26 23:34:59 +03:00
David Bamutura
24d3d2abaa =Implemented the abstract function VocNP and PConjConj in PhraseCgg.gf 2020-10-26 16:41:58 +03:00
David Bamutura
9ba407f051 =Implemented the abstract function fun 2020-10-26 16:21:20 +03:00
David Bamutura
aad7b002aa =made changes to Verb Phrase and VPSlash that check if the complements actually exists 2020-10-26 16:00:34 +03:00
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
d4aba3bded made sure error is reproducable by uncommenting
answer_V2S and ask_V2Q.
However, there are other errors due to N2 types in lexicon
2020-10-12 23:23:54 +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
7a07513f8e =about 1261 nouns added in the extended lexicon 2020-08-07 19:43:45 +03:00
David Bamutura
1be01b549e =959 verbs added in the extended lexicon 2020-08-05 08:50:25 +03:00
David Bamutura
88b8e84cab =Final changes to mergerd branch. Lexicon files left to process 2020-06-29 16:29:02 +03:00
David Bamutura
78146df910 =Made additions to the lexicon 2020-06-29 15:31:15 +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
143a9e9686 =Implemented SlashVP in sentence 2019-05-20 03:12:04 +02:00
David Bamutura
b79c1bca57 =Added PConj to Lexicon but postponed implementyation of PConjConj :Conj -> PConj because I do not know what it means? 2019-05-19 10:51:56 +02:00
David Bamutura
37d27768f1 =Corrected alas_Interj 2019-05-19 10:25:46 +02:00
David Bamutura
db4126c61f =Finished Implementation of PhraseCgg.gf 2019-05-19 10:14:10 +02:00
David Bamutura
3aef8a9f7e =Corrected DetQuant for no_Quant 2019-05-19 08:44:30 +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
12a691e8ae =Failed ti implement PositAdvAdj 2019-05-17 02:33:12 +02:00
David Bamutura
d5bec3b459 =Implemented ComparA AdAP which necesitated the modification of the ADA type. Deleted the CatCggOld.gf 2019-05-17 02:11:50 +02:00
David Bamutura
5f5d71bb0a =Implemented ComparA in Adjective. Needs through testing 2019-05-17 01:16:44 +02:00
David Bamutura
fdc4dced45 =Implemented AjOrd in Adjective which resulted in changing the type of AP and leading to use of default Agrement AgP3 Sg KI_BI. Othrwise context is required 2019-05-17 00:47:44 +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
7843b47cc5 Made changes to LexiconCgg.gf and ParadigmCgg.gf to corret a warning about lock fields 2019-05-15 17:40:42 +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
52639b0d3b Some errors corrected but my the abstract syntax seems to have changed. Cause could be the pull request I made on the current RGL 2019-05-14 10:15:21 +02:00
David Bamutura
355fcc2e6d Some corrections made and functions added 2019-05-14 09:23:09 +02:00
David Bamutura
ef5783853f Failed for IdentQuantN in Question: error about Num 2019-05-14 04:50:00 +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
e8cce483c5 Implemented functions NumDigits, NumNumeral, OrdDigits,OrdNumeral, OrdSuperl but with changes in Structural and CatCgg for the categories 2019-05-10 18:08:35 +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