language specific extensions started

This commit is contained in:
aarne
2006-06-03 21:23:22 +00:00
parent 477feb0af1
commit 2bfe0731c7
20 changed files with 90 additions and 66 deletions

View File

@@ -3,5 +3,5 @@
concrete English of EnglishAbs =
LangEng,
-- IrregEng,
ExtEng
ExtraEng
** {} ;

View File

@@ -1,5 +1,5 @@
abstract EnglishAbs =
Lang,
--- IrregEngAbs,
ExtEngAbs
ExtraEngAbs
** {} ;

View File

@@ -1,26 +0,0 @@
concrete ExtEng of ExtEngAbs = CatEng ** open ResEng in {
lincat
Aux = {s : Polarity => Str} ;
lin
PredAux np aux vp = mkClause (np.s ! Nom) np.a {
s = \\t,ant,b,ord,agr =>
let
fin = aux.s ! b ;
vf : Str -> Str -> {fin, inf : Str} = \x,y ->
{fin = x ; inf = y} ;
in
case ant of {
Simul => vf fin [] ;
Anter => vf fin "have"
} ;
s2 = \\agr => infVP vp agr
} ;
can_Aux = {s = \\p => posneg p "can"} ; ---- cannt
must_Aux = {s = \\p => posneg p "must"} ;
}

View File

@@ -1,15 +0,0 @@
abstract ExtEngAbs = Cat ** {
cat
Aux ; -- auxiliary verbs: "can", "must", etc
-- Notice that $Aux$ cannot form $VP$ with infinitive, imperative, etc.
fun
PredAux : NP -> Aux -> VP -> Cl ;
QuestAux : IP -> Aux -> VP -> QCl ;
can_Aux : Aux ;
must_Aux : Aux ;
}

View File

@@ -0,0 +1,8 @@
concrete ExtraEng of ExtraEngAbs = CatEng ** open ResEng in {
lin
GenNP np = {s = \\_ => np.s ! Gen} ;
EmbedBareS s = s ;
ComplBareVS v s = insertObj (\\_ => s.s) (predV v) ;
}

View File

@@ -0,0 +1,3 @@
abstract ExtraEngAbs = Extra ** {
}