1
0
forked from GitHub/gf-core

fixed Fin determiners that put CN into the partitive (paljon maitoa); works for the singular ones now

This commit is contained in:
aarne
2016-05-03 07:20:40 +00:00
parent b065d77a08
commit 8a2d41d89f
2 changed files with 5 additions and 2 deletions

View File

@@ -345,7 +345,10 @@ mkVS = overload {
mkDet : (isNeg : Bool) -> Number -> N -> Det -- use this with True to create a negative determiner
= \isNeg,nu,noun -> lin Det (MorphoFin.mkDetPol isNeg nu (snoun2nounBind noun)) ;
mkDet : (isNeg : Bool) -> Number -> N -> Case -> Det -- paljon + False + partitive, ei yhtään + True + partitive
= \isNeg,nu,noun,_ -> lin Det (MorphoFin.mkDetPol isNeg nu (snoun2nounBind noun)) ;
= \isNeg,nu,noun,c -> case c of {
Part => lin Det (MorphoFin.mkDetPol isNeg nu (snoun2nounBind noun)) ** {isNum = True} ; --- works like "kolme autoa"
_ => lin Det (MorphoFin.mkDetPol isNeg nu (snoun2nounBind noun)) ---- are there other cases?
} ;
} ;
mkQuant = overload {