1. Tree
#----------------------------------# # Default Generative Grammar Rules # #----------------------------------# S -> NP VP S -> NP RC S -> 'If' S 'then' S VP -> VERB VP -> VERB NP VP -> VERB ADJ VP -> VP PP VP -> AUX VP VP -> AUX 'not' VP VP -> VP CCONJ VP NP -> NOUN NP -> DET NOUN NP -> DET PROPN NP -> PROPN NP -> PRON NP -> NP PP NP -> NP RC NP -> NP CCONJ NP PP -> P NP RC -> RPRON S #---------------------------------# # POS of sentence tagged by spaCy # #---------------------------------# DET -> 'The' NOUN -> 'dog' RPRON -> 'whom' DET -> 'the' NOUN -> 'man' VERB -> 'bites'
(S (NP (DET The) (NOUN dog)) (RC (RPRON whom) (S (NP (DET the) (NOUN man)) (VP (VERB bites)))))
1. Tree