S --> NP VP VP --> V VP --> V NP NP --> DET N NP --> PN DET --> the PN --> Sam PN --> Kim N --> baby N --> child V --> cried v --> saw