mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
20 lines
400 B
Plaintext
20 lines
400 B
Plaintext
concrete ZeroGer of Zero = {
|
|
lincat
|
|
S, NP, VP = Str ;
|
|
V2 = {v,p : Str} ;
|
|
lin
|
|
Pred np vp = np ++ vp ;
|
|
Compl v2 np = v2.v ++ np ++ v2.p ;
|
|
John = "Johann" ;
|
|
Mary = "Maria" ;
|
|
Love = {v = "hat" ; p = "lieb"} ;
|
|
}
|
|
|
|
--.
|
|
|
|
-- illustrates: discontinuous constituents
|
|
-- contrived, since we also have "liebt"
|
|
--
|
|
-- > p -lang=ZeroEng "John loves Mary" | aw -view=open -format=png
|
|
|