(May) AdjCN + change lincat of A*

This commit is contained in:
Inari Listenmaa
2020-09-03 13:39:30 +02:00
parent c1e12b60ab
commit 6e6b7b09ad
3 changed files with 6 additions and 5 deletions

View File

@@ -158,8 +158,9 @@ concrete NounMay of Noun = CatMay ** open ResMay, Prelude in {
-- : N3 -> N2 ; -- distance (to Paris)
-- Use3N3 n3 = lin N2 n3 ;
-- : AP -> CN -> CN
-- AdjCN ap cn = cn ** {
-- } ;
AdjCN ap cn = cn ** {
s = \\nf => cn.s ! nf ++ ap.s
} ;
-- : CN -> RS -> CN ;
RelCN cn rs = cn ** {

View File

@@ -145,10 +145,10 @@ oper
--------------------------------------------------------------------------------
-- Adjectives
Adjective : Type = Verb ; -- TODO check if meaningful
Adjective : Type = SS ;
Adjective2 : Type = Adjective ;
mkAdj : Str -> Adjective = \str -> {s = \\_ => str} ;
mkAdj : Str -> Adjective = \str -> {s = str} ;
AdjPhrase : Type = Adjective ; -- ** {compar : Str} ;
--------------------------------------------------------------------------------

View File

@@ -112,7 +112,7 @@ lin
-- Adjectival phrases, noun phrases, and adverbs can be used.
-- : AP -> Comp ;
CompAP ap = useV ap ;
CompAP ap = useComp ap.s ;
-- : CN -> Comp ;
CompCN cn = useComp (cn.s ! NF Sg Bare) ;