Natural Language (NL) Processing

What do these two 'sentences' mean?

  1. VASE CHILD BROKE
  2. VASE CHILD HURT


s --> det, noun, verb, det, noun.

a better version

s --> np, verb.
s --> np, verb, np.
np --> det, adj*, noun.
np --> proper-name.
np --> pronoun.


s --> np, vp.
np --> det, n.
np --> prn.
vp --> v.
vp --> v, np.
det --> [the].
det --> [a].
v --> [runs].
v --> [bit].
n --> [dog].
n --> [cat].
npr --> [john].


? s([john,runs],[]).
yes
? s(X,[]).
X=[the, dog, runs]
yes


John Mary hat a gave

John glebbed the dog.

The toast was turned with a humeric.


John kissed Mary

John kissed the wall.

The wall kissed John


John broke the window with a hammer

John broke the window

The hammer broke the window.

The window broke.

AGENT John
ACTION to break
INSTRAMENT hammer
OBJECT window