Skip to content

module__Action

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

#org.bibliome.alvisnlp.modules.Action

Synopsis

Applies action expressions on selected elements.

Description

org.bibliome.alvisnlp.modules.Action evaluates target as a list of elements, then it evaluates action on each element.

org.bibliome.alvisnlp.modules.Action is useful when action is a side-effect expression. The side-effect expressions allowed are controlled by: createDocuments, createSections, createRelations, createTuples, createAnnotations, setArguments, setFeatures and deleteElements. If these parameters are not set to true then org.bibliome.alvisnlp.modules.Action will refuse to evaluate the corresponding side-effect expressions.

Parameters

Optional

Type: Expression

Action to perform on each result of target.

Optional

Type: Expression

Elements on which to perform the action. The expression is evaluated as a list of elements with the corpus as the context element.

Optional

Type: Mapping

Constant features to add to each annotation created by this module

Optional

Type: Mapping

Constant features to add to each document created by this module

Optional

Type: Mapping

Constant features to add to each relation created by this module

Optional

Type: Mapping

Constant features to add to each section created by this module

Optional

Type: Mapping

Constant features to add to each tuple created by this module

Default value: false

Type: Boolean

Allow to add annotations to layers.

Default value: false

Type: Boolean

Allow the creation of annotations.

Default value: false

Type: Boolean

Allow the creation of documents.

Default value: false

Type: Boolean

Allow the creation of relations.

Default value: false

Type: Boolean

Allow the creation of sections.

Default value: false

Type: Boolean

Allow to create tuples.

Default value: false

Type: Boolean

Allow to delete elements.

Default value: false

Type: Boolean

Allow to remove annotations from layers.

Default value: false

Type: Boolean

Allow to set tuple arguments.

Default value: false

Type: Boolean

Allow to set element features.

Clone this wiki locally