GATE
Version 3.1-2270

gate.jape
Interface RhsAction

All Superinterfaces:
Serializable

public interface RhsAction
extends Serializable

An interface that defines what the action classes created for RightHandSides look like.


Method Summary
 void doit(Document doc, Map bindings, AnnotationSet annotations, AnnotationSet inputAS, AnnotationSet outputAS, Ontology ontology)
          Fires the RHS action for a particular LHS match.
 

Method Detail

doit

void doit(Document doc,
          Map bindings,
          AnnotationSet annotations,
          AnnotationSet inputAS,
          AnnotationSet outputAS,
          Ontology ontology)
          throws JapeException
Fires the RHS action for a particular LHS match.

Parameters:
doc - the document the RHS action will be run on
bindings - A map containing the matching results from the LHS in the form label(String) -> matched annotations (AnnotationSet)
annotations - copy of the outputAS value provided for backward compatibility
inputAS - the input annotation set
outputAS - the output annotation set
Throws:
JapeException

GATE
Version 3.1-2270