i have to develop a project in java that uses a stanford parser to seperate the setences and has to generate a graph that shows the relation between the words in a sentence.
for eg: Ohio is located in America output:
the image shows the graph. but the output need not be the same but it has to show relation between the words in any graph form. The graph can be generated using Jgraph,Jung. But initially i have to integrate the parser software into my program. So how can i integrate a pareser??