Question: PROBLEM 1 : Parsing with Cocke - Kasami - Younger ( CKY ) algorithm ( 5 0 points ) Grammar: ` ` ` S }
PROBLEM : Parsing with CockeKasamiYounger CKY algorithm points
Grammar:
S mathrm NP VP
VP V NP VP PPV
PP PNP
NP Det NNNP PP
Det 'the' a
N 'dog' 'cat' 'garden' 'boy' 'telescope'
V 'saw' chased 'ran'
P in 'with'
Sentences:
The boy saw the dog with the telescope
The cat ran in the garden
The dog chased the boy in the garden
A boy with a telescope saw the cat
Use the CKY algorithm to parse the four sentences using the grammar provided and show all the possible parses for the sentences in the simple bracketed structure.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
