title: How to generate a parse tree using NLTK?
body: <p>I am trying to generate a tree like this:</p>
  
  <p>I am not able to find any relevant information in regard to it. Please help.</p>
  
  <p>Parse</p>
  
  <pre><code>(ROOT
    (S
      (NP (PRP$ My) (NN dog))
      (ADVP (RB also))
      (VP (VBZ likes)
        (S
          (VP (VBG eating)
            (NP (NN sausage)))))
      (. .)))
  </code></pre>
  
  <p>Thanks.</p>