|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ow2.weblab.service.gate.GateHelper
public class GateHelper
This class contains useful static methods for the gate-extraction project.
| Field Summary | |
|---|---|
static java.lang.String |
GATE_TEMP_ANNOTATION_META
The URI of the predicate for meta data that refines types. |
static java.lang.String |
GATE_TEMP_ANNOTATION_TYPE
The URI of the predicate for types. |
| Constructor Summary | |
|---|---|
GateHelper()
|
|
| Method Summary | |
|---|---|
static void |
init()
Use the file PROPERTIES_FILE_NAME (gate.properties) to set: Which annotation types to exclude. |
static void |
linkGateAnnotsToText(org.weblab_project.core.model.text.Text text,
gate.AnnotationSet annots)
Annotate text with each annotation in annotation set. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String GATE_TEMP_ANNOTATION_TYPE
public static final java.lang.String GATE_TEMP_ANNOTATION_META
| Constructor Detail |
|---|
public GateHelper()
| Method Detail |
|---|
public static void linkGateAnnotsToText(org.weblab_project.core.model.text.Text text,
gate.AnnotationSet annots)
text - The WebLab Text to be annotatedannots - The Gate annotation set to be used to annotate textpublic static void init()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||