rename the s2 field in VP and VPSlash to compl

This commit is contained in:
krasimir
2008-06-13 22:27:59 +00:00
parent 9ad1cb5749
commit 1ad2aad18f
6 changed files with 20 additions and 20 deletions

View File

@@ -55,7 +55,7 @@ concrete CatBul of Cat = open ResBul, Prelude, (R = ParamX) in {
s : ResBul.Tense => Anteriority => Polarity => Agr => Bool => Aspect => Str ; s : ResBul.Tense => Anteriority => Polarity => Agr => Bool => Aspect => Str ;
imp : Polarity => Number => Aspect => Str ; imp : Polarity => Number => Aspect => Str ;
ad : Bool => Str ; ad : Bool => Str ;
s2 : Agr => Str ; compl : Agr => Str ;
subjRole : Role subjRole : Role
} ; } ;

View File

@@ -58,13 +58,13 @@ concrete IdiomBul of Idiom = CatBul ** open Prelude, ParadigmsBul, ResBul in {
s = \\t,a,p,agr,q,asp => vp.s ! t ! a ! p ! agr ! q ! Imperf ; s = \\t,a,p,agr,q,asp => vp.s ! t ! a ! p ! agr ! q ! Imperf ;
imp = \\p,n,_ => vp.imp ! p ! n ! Imperf ; imp = \\p,n,_ => vp.imp ! p ! n ! Imperf ;
ad = vp.ad ; ad = vp.ad ;
s2 = vp.s2 ; compl = vp.compl ;
subjRole = vp.subjRole subjRole = vp.subjRole
} ; } ;
ImpPl1 vp = {s = "íåêà" ++ ImpPl1 vp = {s = "íåêà" ++
vp.s ! Pres ! Simul ! Pos ! {gn = GPl ; p = P1} ! False ! Imperf ++ vp.s ! Pres ! Simul ! Pos ! {gn = GPl ; p = P1} ! False ! Imperf ++
vp.s2 ! {gn = GPl ; p = P1} vp.compl ! {gn = GPl ; p = P1}
} ; } ;
} }

View File

@@ -15,7 +15,7 @@ concrete PhraseBul of Phrase = CatBul ** open Prelude, ResBul in {
UttVP vp = {s = vp.ad ! False ++ UttVP vp = {s = vp.ad ! False ++
"äà" ++ "äà" ++
vp.s ! Pres ! Simul ! Pos ! agrP3 (GSg Neut) ! False ! Perf ++ vp.s ! Pres ! Simul ! Pos ! agrP3 (GSg Neut) ! False ! Perf ++
vp.s2 ! agrP3 (GSg Neut)} ; vp.compl ! agrP3 (GSg Neut)} ;
UttAdv adv = adv ; UttAdv adv = adv ;
NoPConj = {s = []} ; NoPConj = {s = []} ;

View File

@@ -199,7 +199,7 @@ resource ResBul = ParamX ** open Prelude in {
s : Tense => Anteriority => Polarity => Agr => Bool => Aspect => Str ; s : Tense => Anteriority => Polarity => Agr => Bool => Aspect => Str ;
imp : Polarity => Number => Aspect => Str ; imp : Polarity => Number => Aspect => Str ;
ad : Bool => Str ; -- sentential adverb ad : Bool => Str ; -- sentential adverb
s2 : Agr => Str ; compl : Agr => Str ;
subjRole : Role subjRole : Role
} ; } ;
@@ -275,7 +275,7 @@ resource ResBul = ParamX ** open Prelude in {
Neg => "íå" ++ verb.s ! Imperf ! VImperative n Neg => "íå" ++ verb.s ! Imperf ! VImperative n
} ; } ;
ad = \\_ => [] ; ad = \\_ => [] ;
s2 = \\_ => [] ; compl = \\_ => [] ;
subjRole = case verb.vtype of { subjRole = case verb.vtype of {
VNormal => RSubj ; VNormal => RSubj ;
VMedial _ => RSubj ; VMedial _ => RSubj ;
@@ -287,7 +287,7 @@ resource ResBul = ParamX ** open Prelude in {
s = vp.s ; s = vp.s ;
imp = vp.imp ; imp = vp.imp ;
ad = vp.ad ; ad = vp.ad ;
s2 = \\a => vp.s2 ! a ++ obj ! a ; compl = \\a => vp.compl ! a ++ obj ! a ;
subjRole = vp.subjRole subjRole = vp.subjRole
} ; } ;
@@ -418,7 +418,7 @@ resource ResBul = ParamX ** open Prelude in {
let let
verb : Bool => Str verb : Bool => Str
= \\q => vp.ad ! q ++ vp.s ! t ! a ! p ! agr_vp ! q ! Perf ; = \\q => vp.ad ! q ++ vp.s ! t ! a ! p ! agr_vp ! q ! Perf ;
compl = vp.s2 ! agr_compl compl = vp.compl ! agr_compl
in case o of { in case o of {
Main => subj ++ verb ! False ++ compl ; Main => subj ++ verb ! False ++ compl ;
Inv => verb ! False ++ compl ++ subj ; Inv => verb ! False ++ compl ++ subj ;

View File

@@ -11,7 +11,7 @@ concrete SentenceBul of Sentence = CatBul ** open Prelude, ResBul in {
s = \\p,gn => s = \\p,gn =>
let agr = {gn = gn ; p = P2} ; let agr = {gn = gn ; p = P2} ;
verb = vp.imp ! p ! numGenNum gn ! Perf ; verb = vp.imp ! p ! numGenNum gn ! Perf ;
compl = vp.s2 ! agr compl = vp.compl ! agr
in in
verb ++ compl verb ++ compl
} ; } ;

View File

@@ -21,7 +21,7 @@ concrete VerbBul of Verb = CatBul ** open Prelude, ResBul, ParadigmsBul in {
in vv_verb ++ vp.ad ! False ++ "äà" ++ vp_verb ; in vv_verb ++ vp.ad ! False ++ "äà" ++ vp_verb ;
imp = vp.imp ; imp = vp.imp ;
ad = \\_ => [] ; ad = \\_ => [] ;
s2 = vp.s2 ; compl = vp.compl ;
subjRole = vp.subjRole subjRole = vp.subjRole
} ; } ;
@@ -61,7 +61,7 @@ concrete VerbBul of Verb = CatBul ** open Prelude, ResBul, ParadigmsBul in {
slash_verb = slash.s ! Pres ! Simul ! Pos ! {gn = gennum DMasc n; p = P2} ! False ! Perf ; slash_verb = slash.s ! Pres ! Simul ! Pos ! {gn = gennum DMasc n; p = P2} ! False ! Perf ;
in vv_verb ++ slash.ad ! False ++ "äà" ++ slash_verb ; in vv_verb ++ slash.ad ! False ++ "äà" ++ slash_verb ;
ad = \\_ => [] ; ad = \\_ => [] ;
s2 = slash.s2 ; compl = slash.compl ;
subjRole = (predV vv).subjRole subjRole = (predV vv).subjRole
} ** {c2 = slash.c2} ; } ** {c2 = slash.c2} ;
@@ -78,7 +78,7 @@ concrete VerbBul of Verb = CatBul ** open Prelude, ResBul, ParadigmsBul in {
slash_verb = slash.s ! Pres ! Simul ! Pos ! np.a ! False ! Perf ; slash_verb = slash.s ! Pres ! Simul ! Pos ! np.a ! False ! Perf ;
in vv_verb ++ vv.c2.s ++ np.s ! RObj vv.c2.c ++ slash.ad ! False ++ "äà" ++ slash_verb ; in vv_verb ++ vv.c2.s ++ np.s ! RObj vv.c2.c ++ slash.ad ! False ++ "äà" ++ slash_verb ;
ad = \\_ => [] ; ad = \\_ => [] ;
s2 = slash.s2 ; compl = slash.compl ;
subjRole = (predV vv).subjRole subjRole = (predV vv).subjRole
} ** {c2 = slash.c2} ; } ** {c2 = slash.c2} ;
@@ -86,7 +86,7 @@ concrete VerbBul of Verb = CatBul ** open Prelude, ResBul, ParadigmsBul in {
s = slash.s ; s = slash.s ;
imp = slash.imp ; imp = slash.imp ;
ad = slash.ad ; ad = slash.ad ;
s2 = \\_ => slash.c2.s ++ np.s ! RObj slash.c2.c ++ slash.s2 ! np.a ; compl = \\_ => slash.c2.s ++ np.s ! RObj slash.c2.c ++ slash.compl ! np.a ;
subjRole = slash.subjRole subjRole = slash.subjRole
} ; } ;
@@ -98,7 +98,7 @@ concrete VerbBul of Verb = CatBul ** open Prelude, ResBul, ParadigmsBul in {
s = \\t,a,p,agr,q,asp => vp.s ! t ! a ! p ! agr ! False ! asp ; s = \\t,a,p,agr,q,asp => vp.s ! t ! a ! p ! agr ! False ! asp ;
imp = vp.imp ; imp = vp.imp ;
ad = \\q => vp.ad ! q ++ adv.s ++ case q of {True => "ëè"; False => []} ; ad = \\q => vp.ad ! q ++ adv.s ++ case q of {True => "ëè"; False => []} ;
s2 = vp.s2 ; compl = vp.compl ;
subjRole = vp.subjRole subjRole = vp.subjRole
} ; } ;