mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-10-25 09:13:18 -06:00
added QuantityNP
This commit is contained in:
1 parent
34f5e625e3
commit
8a84ca1a45
1 file changed
+7
@@ -310,6 +310,13 @@ concrete NounMlt of Noun = CatMlt ** open ResMlt, Prelude, Maybe in {
|
||||
isDefn = np.isDefn ;
|
||||
} ;
|
||||
|
||||
QuantityNP n m = { -- quessed
|
||||
s = \\c => preOrPost m.isPre m.s (n.s ! NumNom) ;
|
||||
a = agrP3 (numform2num n.n) Masc ;
|
||||
isPron = False ;
|
||||
isDefn = False ;
|
||||
} ;
|
||||
|
||||
oper
|
||||
-- Overwrite the s field in an NP
|
||||
overwriteNPs : NounPhrase -> (NPCase => Str) -> NounPhrase = \np,tbl -> {
|
||||
|
||||
Reference in new issue
Block a user