Skip to content

module__CartesianProductTuples

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

#org.bibliome.alvisnlp.modules.CartesianProductTuples

Synopsis

Creates tuples for each element of a Cartesian product.

Description

org.bibliome.alvisnlp.modules.CartesianProductTuples evaluates anchor as an element list with the corpus as the context element. Each item is hereby called the anchor. org.bibliome.alvisnlp.modules.CartesianProductTuples evaluates all values of arguments as lists of elements with the anchor as the context element. Then it creates a tuple for each item of the cartesian product of the result of the evaluation of arguments. The tuple will have an argument for each item with the role specified by the keys of arguments.

Parameters

Optional

Type: Expression

Elements from which arguments are evaluated.

Optional

Type: ExpressionMapping

Tuple role/argument pairs.

Optional

Type: String

Name of the relation to which tuples are added.

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