0

I'm using Stanford coreNLP for sentiment analytics. Now I want visualization the tree bank look like http://nlp.stanford.edu/sentiment/treebank.html

But I can't get score for each node in the treebank, so I can't do it. I had found in the internet and seen somebody can draw easy in Python.

Do you have any idea to draw the treebank for Stanford sentiment in java (swing is an example).

Thanks all.

lknguyen
  • 23
  • 6
  • Maybe have a look at JavaFX? – JosefScript Mar 14 '17 at 09:38
  • [Heres a very basic example](http://stackoverflow.com/questions/15455739/animate-change-of-color-of-nodes-in-insertion-of-binary-search-tree/15458451#15458451), but if you do some research, there are several libraries around which can produce the graphs you're trying to generate – MadProgrammer Mar 14 '17 at 10:27
  • Thanks MadProgrammer, I can draw the parse tree in Swing but I can't get score for each node in tree, do you know how to get score for each node in Stanford parse tree of sentiment? – lknguyen Mar 15 '17 at 02:19

0 Answers0