|
|||||||||
| 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 |
COMPLETE_PROCESSING_MODE
|
static java.lang.String |
EXCLUSION_PROPERTY
Name of the property that contains the list of properties to be excluded from the conversion. |
static java.lang.String |
FEATURE_EXCLUSION_PROPERTY
Name of the property that contains the list of features to be excluded from the conversion. |
static java.lang.String |
GATE_TEMP_ANNOTATION_META
Deprecated. |
static java.lang.String |
GATE_TEMP_ANNOTATION_TYPE
Deprecated. |
static java.lang.String |
GATE_TEMP_NS
The namespace to be used by annotation created using gate annotations in case of a verbose mode. |
static java.lang.String |
GATE_TEMP_NS_PREFIX
To prevent from the creation of j.0 and prefixes. |
static java.lang.String |
GATE_TYPE_BASE_URI
The base URI of the created instances instances. |
static java.lang.String |
OLD_PROCESSING_MODE
Deprecated. |
static java.lang.String |
PROCESSING_MODE_PROPERTY
Choose the processing mode to be used. |
static java.lang.String |
PROPERTIES_FILE_NAME
Name of the property file to be loaded. |
static java.lang.String |
SERVICE_URI_PROPERTY
Name of the property that contains the URI of the service URI to be used if the created annotation shall contains a isProducedBy statement. |
static java.lang.String |
SIMPLE_PROCESSING_MODE
|
static java.lang.String |
VERBOSE_PROPERTY
Name of the property that contains the boolean value to set whether or not to be verbose in annotation conversion. |
| Constructor Summary | |
|---|---|
GateHelper()
|
|
| Method Summary | |
|---|---|
static void |
init()
Use the file PROPERTIES_FILE_NAME 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_NS
public static final java.lang.String GATE_TEMP_NS_PREFIX
public static final java.lang.String GATE_TYPE_BASE_URI
public static final java.lang.String PROPERTIES_FILE_NAME
public static final java.lang.String EXCLUSION_PROPERTY
public static final java.lang.String FEATURE_EXCLUSION_PROPERTY
public static final java.lang.String SERVICE_URI_PROPERTY
public static final java.lang.String PROCESSING_MODE_PROPERTY
@Deprecated public static final java.lang.String OLD_PROCESSING_MODE
public static final java.lang.String SIMPLE_PROCESSING_MODE
public static final java.lang.String COMPLETE_PROCESSING_MODE
public static final java.lang.String VERBOSE_PROPERTY
@Deprecated public static final java.lang.String GATE_TEMP_ANNOTATION_TYPE
@Deprecated 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 | ||||||||