% Grammar 1
% =========

% signature file
signature(signature).

% phrase structure rule
subject_head_rule rule
(phrase, synsem:(category:(head:Head,
                          subcat:[]),
                content:Content,
		context:backgr:[BackgrEle]),
 phon:[SubjPhon,HeadPhon])
   ===>
cat> (synsem:(Synsem,
	      context:backgr:[BackgrEle]),
      phon:[SubjPhon]),
cat> (synsem:(category:(head:Head,
		        subcat:[Synsem]),
		        content:Content),
      phon:[HeadPhon]).


% lexical entries
she ---> (word,
	  phon:[(a_ she)],
	  synsem:(category: (head:case:nom,
                            subcat:e_list),
                 content: (index: (X, (person:third,
                                       number:sing,
                                       gender:fem))),
                 context: (backgr:[(relation:female,arg1:X)]))).

walks ---> (word,
	    phon:[(a_ walks)],
	    synsem: (category: (head:vform:fin,
                             subcat:[(category:head:case:nom,
                                     content:index: (X,(person:third,
                                                       number:sing
                                                      )))]),
                    content:(relation:walk,
                             arg1:X),
		    context:backgr:e_list)).

