(Som) Implement GenModNP + restructure ComplN2 to better reuse code

This commit is contained in:
Inari Listenmaa
2019-10-03 17:56:44 +02:00
parent ba308dcf95
commit 5871f9c165
2 changed files with 23 additions and 15 deletions
+4
View File
@@ -6,6 +6,10 @@ concrete ExtendSom of Extend = CatSom
** open Prelude, ResSom in {
lin
-- : Num -> NP -> CN -> NP ; -- this man's car(s)
GenModNP num np cn = DetCN (DetQuant IndefArt num) (genModCN cn np) ;
-- : NP -> SSlash -> Utt ; -- her I love -- Saeed p. 189-
FocusObj np sslash = -- FIXME: preposition disappears in negative sentences
let ss = sslash.s ! False ;