public class GateToWookie extends java.lang.Object implements GateConverter
| Constructor and Description |
|---|
GateToWookie() |
| Modifier and Type | Method and Description |
|---|---|
void |
convertInformation(gate.Corpus corpusGate,
org.ow2.weblab.core.model.Resource resource,
java.util.Map<gate.Document,org.ow2.weblab.core.model.Text> gateDocsAndText)
This is the only method of the interface.
|
void |
setServiceURI(java.lang.String serviceURI) |
public void convertInformation(gate.Corpus corpusGate,
org.ow2.weblab.core.model.Resource resource,
java.util.Map<gate.Document,org.ow2.weblab.core.model.Text> gateDocsAndText)
GateConverterconvertInformation in interface GateConvertercorpusGate - A Gate Corpus that has been processed by the controller.resource - The top level Resource. May be used to annotate it, or not.gateDocsAndText - A map that associate to every gate.Document in the Corpus a WebLab Text to whom pass the annotation.public void setServiceURI(java.lang.String serviceURI)
setServiceURI in interface GateConverterserviceURI - The URI of the service to be added in each annotation created.Copyright © 2004-2012. All Rights Reserved.