-
Notifications
You must be signed in to change notification settings - Fork 6
module__org.bibliome.alvisnlp.modules.AnchorTuples
#org.bibliome.alvisnlp.modules.AnchorTuples
Creates tuples with a common argument.
org.bibliome.alvisnlp.modules.AnchorTuples evaluates anchor as an element list with the corpus as the context element (see alvisnlp.corpus.Expression>). For each anchor, org.bibliome.alvisnlp.modules.AnchorTuples creates a tuple in the relation named after relationName, with the anchor as an argument with role anchorRole and the first annotation in the result of each value of arguments with the role of the corresponding key. arguments values are evaluated as element lists with the anchor as the context element.
Optional
Type: Expression
First argument of each created tuple.
Optional
Type: String
Name of the role for the anchor in the created tuple.
Optional
Type: ExpressionMapping
Role/expression pairs of additional arguments for the created tuples. Expressions are evaluated as element lists with the anchor as the context element.
Optional
Type: String
Name of the relation in which tuples must be created.
Optional
Type: Mapping
Constant features to add to each relation created by this module
Optional
Type: Mapping
Constant features to add to each tuple created by this module
Default value: true
Type: Expression
Only process document that satisfy this filter.
Default value: true
Type: Expression
Process only sections that satisfy this filter.