experiment examples, starting with Dep trees

This commit is contained in:
aarne
2009-10-19 08:48:46 +00:00
parent 650aab234a
commit 5ab335517a
2 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
concrete DepEng of Dep = {
lincat
S, NP, V2, CN, AP, Adv, Prep, AdA = Str ;
VP = Str * Str ;
lin
Pred x y = x ++ y.p1 ++ y.p2 ;
Extr x y = y.p2 ++ x ++ y.p1 ;
Compl x y = <y,x> ;
Mods x y = x ++ y ;
MMods x y z = x ++ y ++ z ;
Prepm x y = y ++ x ;
Prepp x y = y ++ x ;
Economic = "economic" ;
Financial = "financial" ;
Little = "little" ;
News = "news" ;
Effect = "effect" ;
Markets = "markets" ;
Had = "had" ;
On = "on" ;
Very = "very" ;
}