1
0
forked from GitHub/gf-rgl

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.

This commit is contained in:
David Bamutura
2019-05-03 03:57:11 +02:00
parent 373a261558
commit 66474465e3
11 changed files with 2001 additions and 1200 deletions
+8 -3
View File
@@ -4,16 +4,21 @@ concrete AdverbCgg of Adverb = CatCgg **
open ResCgg, Prelude in {
lin
--PrepNP : Prep -> NP -> Adv --adverb of place pg 118 part (c)
--PrepNP : Prep -> NP -> Adv -- Verb Phrase modifyingadverb such as everywhere
--adverb of place pg 118 part (c)
-- some prepositions can only operate with CN but not PN
-- how can we distinguish NPs i.e if they are CN or PN?
-- because aha is used for CN while aha-ri is used for PN Omubazi
-- nigukora ahari John
-- The nounPhrase must carry information about its derivation
PrepNP prep np = {s = \\ agr => prep.s ++ np . s}; -- aha meza
{-Assumed that a PrepNP is always Acc-}
PrepNP prep np = {s = prep.s ++ np.s ! Acc; agr = AgrNo}; -- aha meza
--PositAdvAdj : A -> Adv ; -- warmly
PositAdvAdj a = a;
--"Impossible to implement because each is lexically different word."
--PositAdvAdj a = a;
{-
abstract Adverb = Cat ** {