What output formats can I get with the -outputFormat and -outputFormatOptions options?
You can give the options -outputFormat typedDependencies or -outputFormat typedDependenciesCollapsed to get typed dependencies (or grammatical relations) output (for English and Chinese only, currently). You can print out lexicalized trees (head words and tags at each phrasal node with the -outputFormatOptions lexicalize option. You can see all the other options by looking in the Javadoc of the TreePrint class. • Can I have the parser run as a filter (that is, parse stuff typed in)? Yes, you use a filename of a single dash/minus character: -. E.g., java -cp stanford-parser.jar edu.stanford.nlp.parser.lexparser.LexicalizedParser englishPCFG.ser.gz – For interactive use, you may find it convenient to turn off the stderr output. For example, in bash you could use the command: java -cp stanford-parser.jar edu.stanford.nlp.parser.lexparser.LexicalizedParser englishPCFG.ser.gz – 2> /dev/null • Can you explain the different parsers? How can the PCFG parser produce typed dependency parses? Why