at.ofai.gate.jape
Interface RhsAction
- All Superinterfaces:
- java.io.Serializable
public interface RhsAction
- extends java.io.Serializable
An interface that defines what the action classes created
for RightHandSides look like.
Method Summary |
void |
doit(gate.Document doc,
java.util.Map bindings,
gate.AnnotationSet annotations,
gate.AnnotationSet inputAS,
gate.AnnotationSet outputAS,
gate.creole.ontology.Ontology ontology)
Fires the RHS action for a particular LHS match. |
doit
void doit(gate.Document doc,
java.util.Map bindings,
gate.AnnotationSet annotations,
gate.AnnotationSet inputAS,
gate.AnnotationSet outputAS,
gate.creole.ontology.Ontology ontology)
throws JapeException
- Fires the RHS action for a particular LHS match.
- Parameters:
doc
- the document the RHS action will be run onbindings
- A map containing the matc results from the LHS in the form
label(String) -> matched annotations (AnnotationSet)annotations
- copy of the outputAS value provided for backward
compatibilityinputAS
- the input annotation setoutputAS
- the output annotation set
- Throws:
JapeException