title: How can I integrate stanford parser software in my java program?
body: <p>I have to develop a project in java that uses a Stanford parser to separate the sentences and has to generate a graph that shows the relation between the words in a sentence.
  for example: Ohio is located in America.
  Output: </p>
  
  <p><img src="https://i.stack.imgur.com/icdje.jpg" alt="output"></p>
  
  <p>the image shows the graph. But the output need not be the same but it has to show relation between the words in 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 parser??</p>