started Finnish (Param, Morpho, Cat, Param appr. OK)

This commit is contained in:
aarne
2006-02-03 20:07:41 +00:00
parent 07b34ff780
commit 827f9ab643
18 changed files with 3123 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
concrete RelativeFin of Relative = CatFin ** open ResFin in {
flags optimize=all_subs ;
lin
RelCl cl = {
s = \\t,a,p,_ => "such" ++ "that" ++ cl.s ! t ! a ! p ! ODir
} ;
RelVP rp vp = {
s = \\t,ant,b,ag =>
let
agr = case rp.a of {
RNoAg => ag ;
RAg a => a
} ;
cl = mkClause (rp.s ! Nom) agr vp
in
cl.s ! t ! ant ! b ! ODir
} ;
RelSlash rp slash = {
s = \\t,a,p,_ => slash.c2 ++ rp.s ! Acc ++ slash.s ! t ! a ! p ! ODir
} ;
FunRP p np rp = {
s = \\c => np.s ! c ++ p.s ++ rp.s ! Acc ;
a = RAg np.a
} ;
IdRP = mkIP "which" "which" "whose" Sg ** {a = RNoAg} ;
}