Skip to content

module__AnchorTuples

Robert Bossy edited this page Jul 27, 2017 · 1 revision

#org.bibliome.alvisnlp.modules.AnchorTuples

Synopsis

Creates tuples with a common argument.

Description

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.

Parameters

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.

Clone this wiki locally