forked from GitHub/gf-rgl
MakeStructuralFin: Det and IDet with partitive argument
This commit is contained in:
@@ -10,7 +10,12 @@ oper
|
|||||||
mkIQuant : Str -> IQuant = \s ->
|
mkIQuant : Str -> IQuant = \s ->
|
||||||
{s = \\n,c => s ; lock_IQuant = <>} ; ----
|
{s = \\n,c => s ; lock_IQuant = <>} ; ----
|
||||||
|
|
||||||
|
mkIDet : Bool -> Str -> N -> Number -> IDet = \isNum,pref,s,n ->
|
||||||
|
lin IDet {s = \\c => pref ++ s.s ! NCase n c ; n = n ; isNum = isNum} ;
|
||||||
|
|
||||||
mkDet : N -> Number -> Det = \s,n ->
|
mkDet : N -> Number -> Det = \s,n ->
|
||||||
MorphoFin.mkDet n s ;
|
lin Det (MorphoFin.mkDet n s) ;
|
||||||
|
partDet : N -> Number -> Det = \s,n ->
|
||||||
|
lin Det (MorphoFin.partDet False n s) ;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -933,6 +933,10 @@ caseTable : Number -> CommonNoun -> Case => Str = \n,cn ->
|
|||||||
isNeg = pol
|
isNeg = pol
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
partDet : Bool -> Number -> CommonNoun -> (PDet ** {sp : Case => Str}) = \isNeg,num,cn ->
|
||||||
|
mkDetPol isNeg num cn ** {isNum = True} ;
|
||||||
|
|
||||||
|
|
||||||
-- Here we define personal and relative pronouns.
|
-- Here we define personal and relative pronouns.
|
||||||
-- Personal pronouns have possessive suffix (hänen talonsa) but "se" doesn't (sen talo)
|
-- Personal pronouns have possessive suffix (hänen talonsa) but "se" doesn't (sen talo)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user