title: How to get POS tagging using Stanford Parser
body: <p>I'm using Stanford Parser to parse the dependence relations between pair of words, but I also need the tagging of words. However, in the ParseDemo.java, the program only output the Tagging Tree. I need each word's tagging like this:</p>
  
  <pre><code>My/PRP$ dog/NN also/RB likes/VBZ eating/VBG bananas/NNS ./.
  </code></pre>
  
  <p>not like this:</p>
  
  <pre><code>(ROOT
    (S
      (NP (PRP$ My) (NN dog))
      (ADVP (RB also))
      (VP (VBZ likes)
        (S
          (VP (VBG eating)
            (S
              (ADJP (NNS bananas))))))
      (. .)))
  </code></pre>
  
  <p>Who can help me? thanks a lot.</p>