You are on page 1of 4

!"# %&' ()* +,-.

/
Instiuctions:
1. Answei all questions
2. Wiite youi answeis in the space pioviueu aftei each question
S. Bue by Fiiuay (1S112u1S) 1u:uu AN in Room B4-1uS (Baiu copy)


Name: Roll No:


Q1. Answei the following questions baseu on the given uata

uiammai u

S -> NP vP
NP -> N
NP -> Bet N
vP -> v
vP -> v NP
vP -> Aux v NP
vP -> Aux vP
vP -> vP PP
PP -> Piep NP
Bet -> the | a | an
N -> Ram | gaiuen
Piep -> in | about | unuei
Aux -> is | was | can
v -> play | playing | sleep | sleeping

Foi the sentence: !"#$ &' ()#*&+, &+ -./ ,#01/+2

(a) Biaw the phiase stiuctuie tiee.
(b) Biaw the uepenuency tiee. Besciibe youi labels.

Answei 1:







Q2. Foi the sentence !03$ 4#,567 $7 87)-3 ./ (!"# !"#$% !" !"#$% !" !92 anu the
following syntax tiee


(a) ueneiate the context fiee giammai
(b) Biaw the uepenuency tiee. Besciibe youi labels.

Answei 2:


























QS. uiven the following giammai

uiammai

S -> NP vP
NP -> Bet N
NP -> N
NP -> }} NP
vP -> v
vP -> Aux vP
vP -> Aux v
vP -> vP NP
vP -> vP PP
PP -> Piep NP
Piep -> on
N -> Plate | She | cake
v -> eating
Aux -> is
}} -> bakeu
Bet -> a

Biaw all possible paise tiees foi the sentence !:./ &' /#-&+, 4#;/1 6#;/ <+ # ()#-/2.

Answei S:






















Q4. Consiuei the following iules in a giammai.

vP -> v (P=u.SS)
vP -> v NP (P=u.SS)
vP -> v NP NP (P=u.SS)

The phiases that match these iules woulu be

i. Ram |vP |v Sleepsjj
ii. Ram |vP |v Eatsj |NP a bananajj
iii. Ram |vP |v uivesj |NP Naiyj |NP a bookjj

Theie aie two majoi pioblems with the iules above.
a. They geneiate phiases like "Sleeps a banana", "Eats Naiy a banana" etc
b. The piobability of the paisei geneiating vP -> v anu vP -> v NP, vP -> v NP
NP is inuepenuent of the woius themselves. But, In natuial language this is
ceitainly not the case.

Bow uoes one solve these pioblems. uive a uetail account of youi solution. (Bint:
Reau }uiafsky anu Naitin's chaptei of PCFus)

Answei 4:

You might also like