forked from GitHub/gf-core
lrec tutorial examples
This commit is contained in:
16
examples/lrec-tutorial/ZeroIta.gf
Normal file
16
examples/lrec-tutorial/ZeroIta.gf
Normal file
@@ -0,0 +1,16 @@
|
||||
concrete ZeroIta of Zero = {
|
||||
lincat
|
||||
S, NP, VP, V2 = Str ;
|
||||
lin
|
||||
Pred np vp = np ++ vp ;
|
||||
Compl v2 np = v2 ++ np ;
|
||||
John = "Giovanni" ;
|
||||
Mary = "Maria" ;
|
||||
Love = "ama" ;
|
||||
}
|
||||
|
||||
--.
|
||||
|
||||
-- > gr | l
|
||||
-- > p -lang=ZeroEng "John loves Mary" | l -lang=ZeroIta
|
||||
|
||||
Reference in New Issue
Block a user