CartesianProductTuples
Synopsis
Creates tuples for each element of a Cartesian product.
Description
CartesianProductTuples evaluates anchor as an element list with the corpus as the context element. Each item is hereby called the anchor . 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 .
Snippet
<cartesianproducttuples class="CartesianProductTuples">
<anchor></anchor>
<arguments></arguments>
<relation></relation>
</cartesianproducttuples>
Mandatory parameters
anchor
Elements from which arguments are evaluated.
arguments
Tuple role/argument pairs.
relation
Name of the relation to which tuples are added.
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.
documentFilter
Only process document that satisfy this expression.
sectionFilter
Process only sections that satisfy this expression.
Deprecated parameters
relationName
Deprecate alias for relation .