StanfordParser
Synopsis
Applies the Stanford dependency parser .
Description
Applies the Stanford dependency parser .
The corpus must be sentence-split, tokenized and tokens must be POS-tagged.
The root is represented as a tuple like dependencies but without a head argument, and labelled root .
Snippet
<stanfordparser class="StanfordParser">
</stanfordparser>
Mandatory parameters
Optional parameters
constantRelationFeatures
Constant features to add to each relation created by this module.
constantTupleFeatures
Constant features to add to each tuple created by this module.
dependencyLabelFeature
Name of the feature where to store the dependency label.
dependencyRelation
Name of the relation where to store dependency tuples.
dependencySentenceRole
Name of the role of the dependency tuple argument that references the parsed sentence.
dependentRole
Name of the role of the dependency tuple argument that references the modifier (dependent) token.
documentFilter
Only process document that satisfy this expression.
formFeature
Name of the feature containing the token surface form.
headRole
Name of the role of the dependency tuple argument that references the head (governor) token.
language
Language of the text to parse. StanfordParser currently supports english (default), french, german, spanish and chinese.
omitRoot
If set, do not create the root tuple.
posTagFeature
Name of the feature containing the token POS tag.
sectionFilter
Process only sections that satisfy this expression.
sentenceFilter
Expression evaluated on each sentence annotation, the sentence is parsed if this expression evaluates as true.
sentenceLayer
Name of the layer containing sentence annotations.
tokenLayer
Name of the layer containing token annotations.
Deprecated parameters
dependencyLabelFeatureName
Deprecated alias for dependencyLabelFeature .
dependencyRelationName
Deprecated alias for dependencyRelation .
formFeatureName
Deprecated alias for formFeature .
posTagFeatureName
Deprecated alias for posTagFeature .
sentenceLayerName
Deprecated alias for sentenceLayer .
tokenLayerName
Deprecated alias for tokenLayer .