1
0
forked from GitHub/gf-core

mkQuant added to ParadigmsFin ; added missing Quants to DictionaryFin

This commit is contained in:
aarne
2014-12-05 17:02:56 +00:00
parent 655c3d8c53
commit 145fca17fd
2 changed files with 18 additions and 8 deletions

View File

@@ -348,6 +348,14 @@ mkVS = overload {
= \isNeg,nu,noun,_ -> lin Det (MorphoFin.mkDetPol isNeg nu (snoun2nounBind noun)) ;
} ;
mkQuant = overload {
mkQuant : N -> Quant =
\noun -> heavyQuant {s1 = \\n,c => (snoun2nounBind noun).s ! NCase n c ; s2 = \\_ => [] ; isNum,isPoss,isNeg,isDef = False} ;
mkQuant : N -> N -> Quant =
\sg,pl -> heavyQuant {s1 = table {Sg => \\c => (snoun2nounBind pl).s ! NCase Sg c ; Pl => \\c => (snoun2nounBind pl).s ! NCase Pl c} ;
s2 = \\_ => [] ; isNum,isPoss,isNeg,isDef = False} ;
} ;
mkInterj : Str -> Interj
= \s -> lin Interj {s = s} ;