mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-18 09:19:32 -06:00
lrec tutorial examples
This commit is contained in:
16
examples/lrec-tutorial/ZeroFre.gf
Normal file
16
examples/lrec-tutorial/ZeroFre.gf
Normal file
@@ -0,0 +1,16 @@
|
||||
concrete ZeroFre of Zero = {
|
||||
lincat
|
||||
S, NP, VP, V2 = Str ;
|
||||
lin
|
||||
Pred np vp = np ++ vp ;
|
||||
Compl v2 np = v2 ++ np ;
|
||||
John = "Jean" ;
|
||||
Mary = "Marie" ;
|
||||
Love = "aime" ;
|
||||
}
|
||||
|
||||
--.
|
||||
|
||||
-- > gr | l
|
||||
-- > p -lang=ZeroEng "John loves Mary" | l -lang=ZeroFre
|
||||
|
||||
Reference in New Issue
Block a user