1
0
forked from GitHub/gf-rgl

(Ara) Force inherently dual nouns to dual only with a plural determiner

This commit is contained in:
Inari Listenmaa
2018-11-21 16:31:36 +01:00
parent e911ad7cb3
commit 6b91d8409a

View File

@@ -6,7 +6,12 @@ lin
DetCN det cn = let {
cas : Case -> Case = if_then_else Case det.is1sg Bare ;
number = case cn.isDual of {True => Dl ; _ => sizeToNumber det.n} ;
number = case cn.isDual of {
True =>
case sizeToNumber det.n of {
Sg => Sg ;
_ => Dl } ;
False => sizeToNumber det.n } ;
determiner : Case -> Str = \c ->
det.s ! cn.h ! (detGender cn.g det.n) ! c ;
noun : Case -> Str = \c ->