/****************************************************************
A DCG for simple English sentences with pronouns
using features (a good solution)

This version: 13/06/03 stwa
****************************************************************/



s --> np(subject),vp.
np(_) --> det,n.
np(X) --> pro(X).
vp --> v,np(object).
vp --> v.
 
det --> [the].
det --> [a].
n --> [witch].
n --> [wizard].
v --> [curses].
pro(subject) --> [he].
pro(subject) --> [she].
pro(object) --> [him].
pro(object) --> [her].