stanford-parser

Statistical NLP parser for analyzing sentence structure and dependencies

brewmacoslinux
Try with needOr install directly
Source

About

Statistical NLP parser

Commands

stanford-parser

Examples

Parse a sentence and display the syntactic tree structure$ echo 'The quick brown fox jumps.' | stanford-parser
Parse a text file and output dependency relations$ stanford-parser -outputFormat typedDependencies input.txt
Run parser with a specific grammar model$ stanford-parser -model edu/stanford/nlp/models/lexparser/englishRNN.ser.gz input.txt