Package | Description |
---|---|
gate | |
gate.config | |
gate.creole | |
gate.creole.ontology |
The GATE ontology API.
|
gate.gui.docview | |
gate.persist | |
gate.util | |
gate.wordnet |
Modifier and Type | Method and Description |
---|---|
List<Resource> |
CreoleRegister.getAllInstances(String type)
Get a list of all the known Resource instances in the register that are of
the specified (class or interface) type or one of its sub-types.
|
static MainFrame |
Main.getMainFrame()
Get the main frame of the GUI.
|
static void |
Gate.init()
Initialisation - must be called by all clients before using any other parts
of the library.
|
static void |
Gate.initConfigData()
Reads config data (gate.xml files).
|
static void |
Gate.initCreoleRegister()
Initialise the CREOLE register.
|
static void |
Main.main(String[] args)
Main routine for GATE.
|
void |
CreoleRegister.registerBuiltins()
Register resources that are built in to the GATE distribution.
|
void |
CreoleRegister.registerComponent(Class<? extends Resource> clazz)
Deprecated.
|
void |
CreoleRegister.registerDirectories(URL directoryUrl)
Deprecated.
|
void |
CreoleRegister.registerDirectories(URL directoryUrl,
boolean loadDependencies)
Deprecated.
|
static void |
Gate.registerIREngine(String className)
Registers a new IR engine.
|
void |
CreoleRegister.registerPlugin(Plugin plugin) |
void |
CreoleRegister.registerPlugin(Plugin plugin,
boolean loadDependencies) |
protected static void |
Main.runGui()
Run the user interface.
|
static void |
Gate.writeUserConfig()
Update the GATE development environment configuration data in the user's
gate.xml file (create one if it doesn't exist).
|
Modifier and Type | Method and Description |
---|---|
void |
ConfigDataProcessor.parseConfigFile(InputStream configStream,
URL configUrl)
Parse a config file (represented as an open stream).
|
Constructor and Description |
---|
ConfigDataProcessor()
Default constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
ExecutionException
Exception used to signal problems during the execution of GATE controllers
and Processing Resources.
|
class |
ExecutionInterruptedException
Thrown by
Executable s after they have stopped their execution
as a result of a call to their interrupt() method. |
class |
ParameterException
This exception indicates failure to set a resource parameter.
|
class |
ResourceInstantiationException
This exception indicates failure during instantiation of resources,
which may be due to a number of causes:
the resource metadata contains parameters that aren't available on
the resource;
the class for the resource cannot be found (e.g.
|
Modifier and Type | Method and Description |
---|---|
void |
AnnotationVisualResource.cancelAction()
Called by the GUI when the user has pressed the "Cancel" button.
|
void |
BootStrap.createResource(String resourceName,
String packageName,
String typeResource,
String className,
Set<String> interfacesList,
String pathNewProject)
Creates the resource and dumps out a project structure using the
structure from gate/resource/creole/bootstrap/Template and the
information provided by the user
|
List<Resource> |
CreoleRegisterImpl.getAllInstances(String type) |
List<Resource> |
CreoleRegisterImpl.getAllInstances(String type,
boolean includeHidden) |
void |
AnnotationVisualResource.okAction()
Called by the GUI when the user has pressed the "OK" button.
|
protected void |
CreoleRegisterImpl.parseDirectory(Plugin plugin,
org.jdom.Document jdomDoc,
URL directoryUrl,
URL creoleFileUrl)
Parse a directory file (represented as an open stream), adding resource
data objects to the CREOLE register as they occur.
|
void |
CreoleAnnotationHandler.processAnnotations(org.jdom.Document jdomDoc)
Processes annotations for resource classes named in the given creole.xml
document, adding the relevant XML elements to the document as appropriate.
|
void |
CreoleAnnotationHandler.processCreoleResourceAnnotations(org.jdom.Element element,
Class<?> resourceClass) |
void |
CreoleRegisterImpl.registerBuiltins()
Register resources that are built in to the GATE distribution.
|
void |
CreoleRegisterImpl.registerComponent(Class<? extends Resource> resourceClass) |
void |
CreoleRegisterImpl.registerDirectories(URL directoryUrl)
Register a single CREOLE directory.
|
void |
CreoleRegisterImpl.registerDirectories(URL directoryUrl,
boolean loadDependencies)
Register a single CREOLE directory.
|
void |
CreoleRegisterImpl.registerPlugin(Plugin plugin) |
void |
CreoleRegisterImpl.registerPlugin(Plugin plugin,
boolean loadDependencies) |
static void |
AbstractResource.removeResourceListeners(Resource resource,
Map<String,? extends Object> listeners)
Removes listeners from a resource.
|
static void |
AbstractResource.setResourceListeners(Resource resource,
Map<String,? extends Object> listeners)
Adds listeners to a resource.
|
void |
BootStrap.verifyInput(String className,
String pathNewProject)
verify if the class name contains only letters and digits
the path of the new project is a directory
|
Constructor and Description |
---|
CreoleRegisterImpl()
Default constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
InvalidValueException
This exception should be thrown when a property value is not
compatible with the property.
|
Modifier and Type | Method and Description |
---|---|
void |
AnnotationEditor.cancelAction()
Does nothing, as this editor does not support cancelling and rollbacks.
|
void |
AnnotationEditor.okAction()
Does nothing as this editor works in auto-commit mode (changes are
implemented immediately).
|
Modifier and Type | Class and Description |
---|---|
class |
PersistenceException
This exception indicates failure during persistence operations.
|
Modifier and Type | Class and Description |
---|---|
class |
DocumentFormatException
This exception can be used to catch any internal exception thrown by the
DocumentFormat class and its subbclasses.
|
class |
InvalidOffsetException
Used to signal an attempt to create a node with an invalid offset.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
Javac.compile(Map<String,String> sources,
GateClassLoader classLoader)
Compile a set of Java sources, and load the resulting classes into the GATE
class loader.
|
static void |
Javac.loadClasses(Map<String,String> sources,
GateClassLoader classLoader)
Compiles a set of java sources and loads the compiled classes in the gate
class loader.
|
static void |
CorpusBenchmarkTool.main(String[] args) |
void |
LanguageAnalyserDocumentProcessor.processDocument(Document doc) |
void |
DocumentProcessor.processDocument(Document doc)
Process the given GATE document.
|
Modifier and Type | Class and Description |
---|---|
class |
WordNetException |
Copyright © 2024 GATE. All rights reserved.