Question: PARSE TREE [PROLOG] Create 2 different parsing trees to represent 2 distinct meanings of the following noun phrase. You have to explain the differences by
PARSE TREE [PROLOG] Create 2 different parsing trees to represent 2 distinct meanings of the following noun phrase. You have to explain the differences by referring to your parse trees. You have to show every step and indicate which rules of the grammar you are using where. Write rule numbers at each node of your parsing tree.
NP = [ a, red, hat, on, a, woman, beside, a, big, man, on, a, bench ]
Grammar Rules: 1: S -> NP, VP 2: VP -> copula_verb, Mods 3: VP -> transitive_verbs, NP, Mods 4: VP -> intransitive_verb, Mods 5: NP -> proper_nour 6: NP -> article, NP2 7: NP2 -> adjective, NP2 8: NP2 -> common_noun, Mods 9: Mods -> [ ] 10: Mods -> PP, Mods 11: PP -> preposition, NP
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
