(May) Form Det with numerals (NumCard, NumDigits etc.)

This commit is contained in:
Inari Listenmaa
2020-09-01 17:51:49 +02:00
parent c79c113e01
commit e122aea3ad
5 changed files with 40 additions and 23 deletions
+8 -6
View File
@@ -66,19 +66,21 @@ oper
} ;
Determiner : Type = Quant ** {
n : Number ;
-- numtype : NumType ; -- number as in "5" or "Sg/Pl", often makes a difference in lots of things
pr : Str ; -- prefix for numbers
n : NumType ; -- number as in 5 (noun in singular), Sg or Pl
} ;
CardNum : Type = {
s : Str ;
n : Number
} ;
baseNum : CardNum = {
Num : Type = CardNum ** {
n : NumType
} ;
baseNum : Num = {
s = [] ;
n = Sg ;
numtype = NoNum
n = NoNum Sg
} ;
CardOrdNum : Type = CardNum ** {