lrec tutorial examples

This commit is contained in:
aarne
2010-04-24 11:34:04 +00:00
parent 2f62ab26e6
commit 2b21e7fae7
31 changed files with 871 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
concrete ZeroLat of Zero = {
lincat
S, VP, V2 = Str ;
NP = Case => Str ;
lin
Pred np vp = np ! Nom ++ vp ;
Compl v2 np = np ! Acc ++ v2 ;
John = table {Nom => "Ioannes" ; Acc => "Ioannem"} ;
Mary = table {Nom => "Maria" ; Acc => "Mariam"} ;
Love = "amat" ;
param
Case = Nom | Acc ;
}
--.
-- illustrates: parameters, word order
-- > p -lang=ZeroEng "John loves Mary" | aw -view=open -format=png