%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  File:  grammar0.pl
%
%  Course:  HPSG Grammars in ALE
%
%  Contains:  Just about the simplest Phrase Structure Grammar
%             in the world!
%
%  Parses:    sandy snored
%
%  No parse:  the rest of the English language!
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Type Hierarchy

bot sub [s,np,vp].          % Three sub-types of bot

s sub [].                   % Each with no sub-types
np sub [].
vp sub [].

% Lexical Entries

sandy ---> np.
snored ---> vp.

% Grammmar Rules

np_vp rule
s
===>
cat> np,
cat> vp.
