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

@@ -1,14 +0,0 @@
incomplete concrete ExtScand of ExtScandAbs =
CatScand ** open CommonScand, ResScand in {
lin
DefSgN predet noun = let g = noun.g in {
s = \\c => predet.s ! gennum g Sg ++ noun.s ! Sg ! Def ! caseNP c ;
a = agrP3 g Sg
} ;
DefPlN predet noun = let g = noun.g in {
s = \\c => predet.s ! Plg ++ noun.s ! Pl ! Def ! caseNP c ;
a = agrP3 g Sg
} ;
}

View File

@@ -1,9 +0,0 @@
abstract ExtScandAbs = Cat ** {
fun
-- Definite form of simple nouns without article; neither $Num$ nor $Ord$ allowed.
DefSgN, DefPlN : Predef -> N -> NP ;
}

View File

@@ -0,0 +1,12 @@
incomplete concrete ExtraScand of ExtraScandAbs = CatScand ** open CommonScand,ResScand in {
lin
GenNP np = {
s = \\n,_,g => np.s ! NPPoss (gennum g n) ;
det = DDef Indef
} ;
EmbedBareS s = {s = s.s ! Sub} ;
ComplBareVS v s = insertObj (\\_ => s.s ! Sub) (predV v) ;
}

View File

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