(Hun) Change constructor of mkDet + new Dets

This commit is contained in:
Inari Listenmaa
2020-04-18 08:15:10 +02:00
parent 753c57296d
commit 0a21ed5e5e
2 changed files with 24 additions and 13 deletions
+8
View File
@@ -68,6 +68,14 @@ oper
objdef : ObjDef ; -- How V2 agrees if NP with this Det is an object
} ;
mkDet : (s : Str) -> ObjDef -> Number -> Determiner = \s,d,n -> {
s,
sp = (mkNoun s).s ! n ;
n = n ;
numtype = NoNum ;
objdef = d ;
} ;
Numeral : Type = {
s : Place => Str ; -- Independent or attribute
numtype : NumType ; -- Digit, numeral or Sg/Pl : makes a difference in many languages