Commit Graph

36 Commits

Author SHA1 Message Date
Krasimir Angelov
fb398c603e The new Decimal API 2023-08-21 20:14:26 +02:00
Inari Listenmaa
ad76508743 Merge branch 'master' into master 2020-10-27 10:32:25 +01: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
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
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
John J. Camilleri
4fc26369b8 (Cgg) Remove executable file permissions 2020-05-27 16:38:21 +02: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
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
143a9e9686 =Implemented SlashVP in sentence 2019-05-20 03:12:04 +02:00
David Bamutura
db4126c61f =Finished Implementation of PhraseCgg.gf 2019-05-19 10:14:10 +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
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
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
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
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
David Bamutura
48aa65d2dd Made changes to the nature of adjective so that it linearises 2019-05-06 16:21:34 +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