1
0
forked from GitHub/gf-rgl

(Som) Make relational nouns into Prep w/ possPrep

This commit is contained in:
Inari Listenmaa
2019-08-27 12:32:42 +02:00
parent db8356aa49
commit bcb4812f10
6 changed files with 74 additions and 34 deletions
+6 -5
View File
@@ -64,13 +64,14 @@ concrete NounSom of Noun = CatSom ** open ResSom, Prelude in {
True => glue predet.s det ;
False => predet.s
} ;
in np ** {s = \\c =>
case <np.isPron,predet.isPoss> of {
<True,True> => np.empty ++ predetS ;
_ => np.s ! c ++ predetS}
in np ** {
s = \\c =>
case <np.isPron,predet.isPoss> of {
<True,True> => np.empty ++ predetS ;
_ => np.s ! c ++ predetS} ;
isPron = False ; -- NP it loses its pronoun status when Predet is added
} ;
-- A noun phrase can also be postmodified by the past participle of a
-- verb, by an adverb, or by a relative clause