1
0
forked from GitHub/gf-core

add definite forms for IAdv,IDet,IP, etc

This commit is contained in:
krasimir
2008-06-15 11:23:36 +00:00
parent 06b527283e
commit 1ab4f13416
7 changed files with 39 additions and 37 deletions

View File

@@ -522,13 +522,13 @@ resource ResBul = ParamX ** open Prelude in {
DNeutDef => addDef dve
} ;
mkIP : Str -> Str -> GenNum -> {s : Role => Str ; gn : GenNum} =
mkIP : Str -> Str -> GenNum -> {s : Role => Species => Str ; gn : GenNum} =
\koi,kogo,gn -> {
s = table {
RSubj => koi ;
RObj Acc => kogo ;
RObj Dat => "íà" ++ kogo ;
RVoc => koi
RSubj => table {Indef=>koi; Def=>koi+"òî"} ;
RObj Acc => table {Indef=>kogo; Def=>kogo+"òî"} ;
RObj Dat => table {Indef=>"íà" ++ kogo; Def=>"íà" ++ kogo+"òî"} ;
RVoc => table {Indef=>koi; Def=>koi+"òî"}
} ;
gn = gn
} ;
@@ -575,14 +575,14 @@ resource ResBul = ParamX ** open Prelude in {
Preposition : Type = {s : Str; c : Case};
mkQuestion :
{s1,s2 : Str} -> Clause ->
{s : Species => Str} -> Clause ->
{s : Tense => Anteriority => Polarity => QForm => Str} = \wh,cl ->
{
s = \\t,a,p =>
let cls = cl.s ! t ! a ! p ;
in table {
QDir => wh.s1 ++ cls ! Inv ;
QIndir => wh.s2 ++ cls ! Main
QDir => wh.s ! Indef ++ cls ! Inv ;
QIndir => wh.s ! Def ++ cls ! Main
}
} ;