Given the following sentence:
The old oak tree from India fell down.
How can I get the following parse tree representation of the sentence using python NLTK?
(ROOT (S (NP (NP (DT The) (JJ old) (NN oak) (NN tree)) (PP (IN from) (NP (NNP India)))) (VP (VBD fell) (PRT (RP down)))))
I need a complete example which I couldn't find in web!
Edit
I have gone through this book chapter to learn about parsing using NLTK but the problem is, I need a grammar to parse sentences or phrases which I do not have. I have found this stackoverflow post which also asked about grammar for parsing but there is no convincing answer there.
So, I am looking for a complete answer that can give me the parse tree given a sentence.