Let's begin with the Stanford parser. You can download it from https://stanfordnlp.github.io/CoreNLP/. After downloading it, you just need to extract it to any location you like. The prerequisite of running the Stanford parser is that you should have a Java-run environment installed in your system. Now you need to execute the following command in order to start the Stanford parser service:
$ cd stanford-corenlp-full-2016-10-31/ $ java -mx4g -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer
Here, you can change the memory from -mx4g to -mx3g.
Let's look at the concept of dependency in the parser before can fully concentrating on the coding part.
The dependency structure in the parser shows which words depend on ...