(Pes) Fix bug in DetQuant: "a one N"

This commit is contained in:
Inari Listenmaa
2019-03-20 16:01:55 +01:00
parent 8452076636
commit 24ff11c63d
3 changed files with 24 additions and 12 deletions
+4 -2
View File
@@ -119,7 +119,7 @@ oper
--Determiners
--------------------
BaseQuant : Type = {
mod : Mod } ;
mod : Mod} ;
Determiner : Type = BaseQuant ** {
s : Str ;
@@ -129,7 +129,8 @@ oper
} ;
Quant : Type = BaseQuant ** {
s : Number => CmpdStatus => Str} ;
s : Number => CmpdStatus => Str ;
isDef : Bool } ;
makeDet : Str -> Number -> Bool -> Determiner = \str,n,b -> {
s,sp = str;
@@ -141,6 +142,7 @@ oper
makeQuant : Str -> Str -> Quant = \sg,pl -> {
s = table {Sg => \\_ => sg ; Pl => \\_ => pl} ;
mod = Bare ;
isDef = True
};
---------------------------
-- Adjectives