A subset of command-line tools and graphical interfaces have been defined in the Stanford Parser directory, and this article will show you how to use these tools for parsing in Windows, and the shell is available under Linux.
For information on how to build an environment, please refer to the previous article: Standford Parser Learning Primer (1)-eclipse in configuration
- In the Extract directory, open the Command window, run Lexparser.bat, you will get the following results, that is, the command line to run the results.
- Run Lexparser-gui.bat, can pop up the graphical interface, such as, first click on the load parser Select model file (in this case with Stanford-parser-3.6.0-models.jar), the parser Select English, and then click Load File select the files to parse, then click Parse> to generate the parse tree
Standford Parser Learning Primer (2)-command line run