Description

Provides a fast syntactic dependency parser. We generate three dependency-based outputs, as follows: basic, uncollapsed dependencies, saved in BasicDependenciesAnnotation; enhanced dependencies saved in EnhancedDependenciesAnnotation; and enhanced++ dependencies in EnhancedPlusPlusDependenciesAnnotation. Most users of our parser will prefer the latter representation.

Property name Annotator class name Generated Annotation
depparse DependencyParseAnnotator BasicDependenciesAnnotation, EnhancedDependenciesAnnotation, EnhancedPlusPlusDependenciesAnnotation

Options

Option name Type Default Description
depparse.model file, classpath, or URL edu/stanford/nlp/models/parser/nndep/english_UD.gz Dependency parsing model to use. There is no need to explicitly set this option, unless you want to use a different parsing model than the default. By default, this is set to the UD parsing model included in the stanford-corenlp-models JAR file.

More information

For details about the dependency software, see this page. For more details about dependency parsing in general, see this page.