(Romance) add lins

- add AdVVPSlash, AdvVPSlash, CountNP, PartNP
- simplify opers using record extension
- rm CountNP from NounPor
This commit is contained in:
odanoburu
2018-06-26 17:35:37 -03:00
parent a730a3194b
commit 29c044a315
4 changed files with 18 additions and 28 deletions

View File

@@ -180,8 +180,15 @@ incomplete concrete NounRomance of Noun =
g = cn.g ;
} ;
-- PartNP and CounNP missing: how to define 'of' in the functor?
PartNP cn np = {
s = \\n => cn.s ! n ++ appCompl {s = [] ; c = genitive ; isDir = False} np ;
g = cn.g ;
} ;
CountNP det np = heavyNPpol np.isNeg
{s = \\c => det.s ! np.a.g ! c ++ (np.s ! genitive).ton ;
a = np.a ** {n = det.n} } ;
AdjDAP det ap = {
s = \\g => det.s ! g ++ ap.s ! AF g det.n ;
n = det.n ;