multimodal for Swedish

This commit is contained in:
aarne
2005-12-09 16:28:45 +00:00
parent 5889b3f7db
commit ea5639b85f
17 changed files with 120 additions and 12 deletions

View File

@@ -18,6 +18,7 @@ interface DiffScand = open ResScand, Prelude in {
conjThat : Str ;
conjThan : Str ;
conjAnd : Str ;
infMark : Str ;
subjIf : Str ;

View File

@@ -0,0 +1,27 @@
incomplete concrete MathScand of Math =
CatScand ** open Prelude, ResScand, DiffScand in {
lin
SymbPN i = {s = \\c => i.s ; g = Neutr} ; --- c
IntPN i = {s = \\c => i.s ; g = Neutr} ; --- c
CNIntNP cn i = {
s = \\c => (cn.s ! Sg ! DIndef ! Nom ++ i.s) ;
a = agrP3 cn.g Sg
} ;
CNSymbNP det cn xs = let g = cn.g in {
s = \\c => det.s ! g ++ cn.s ! det.n ! det.det ! caseNP c ++ xs.s ;
a = agrP3 g det.n
} ;
lincat
Symb, SymbList = SS ;
lin
MkSymb s = s ;
BaseSymb = infixSS conjAnd ;
ConsSymb = infixSS "," ;
}

View File

@@ -26,7 +26,7 @@ incomplete concrete VerbScand of Verb = CatScand ** open DiffScand, ResScand in
CompAdv a = {s = \\_ => a.s} ;
--- these give parser overflow
--- AdvVP vp adv = insertAdv adv.s vp ;
AdvVP vp adv = insertAdv adv.s vp ;
--- AdVVP adv vp = insertAdV adv.s vp ;
{-