-
Notifications
You must be signed in to change notification settings - Fork 6
module__org.bibliome.alvisnlp.modules.prolog.RunProlog
#org.bibliome.alvisnlp.modules.prolog.RunProlog
Runs a Prolog program with the corpus data structure encoded as facts.
This module is experimental.
org.bibliome.alvisnlp.modules.prolog.RunProlog runs a Prolog program specified in two parameters:
-
theory is read as a regular Prolog program;
-
facts generate a set of facts.
Additionally goals specifies the goals of the Prolog programs, and an associated action expression that will be evaluated for each solution.
org.bibliome.alvisnlp.modules.prolog.RunProlog will run generate facts and resolve goals for each element specified by target.
Optional
Type: FactDefinition[]]
Fact specifications.
Optional
Type: GoalDefinition[]]
Goal specifications.
Optional
Type: Expression
Top-level elements for which facts and goals are computed. This expression is evaluated as a list of elements with the corpus as context.
Optional
Type: SourceStream
Source of the main Prolog program.
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
Either the goal actions may add annotations to layers.
Default value: false
Type: Boolean
Either the goal actions may create annotations.
Default value: false
Type: Boolean
Either the goal actions may create documents.
Default value: false
Type: Boolean
Either the goal actions may create relations.
Default value: false
Type: Boolean
Either the goal actions may create sections.
Default value: false
Type: Boolean
Either the goal actions may create tuples.
Default value: false
Type: Boolean
Either the goal actions may delete elements.
Default value: false
Type: Boolean
Either the goal actions may remove annotations from layers.
Default value: false
Type: Boolean
Either the goal actions may set tuple arguments.
Default value: false
Type: Boolean
Either the goal actions may add element features.