Package | Description |
---|---|
gate | |
gate.annotation | |
gate.corpora | |
gate.creole | |
gate.creole.ontology |
The GATE ontology API.
|
gate.gui | |
gate.gui.docview | |
gate.util | |
gate.util.persistence |
Modifier and Type | Method and Description |
---|---|
static Resource |
Factory.createResource(String resourceClassName)
Create an instance of a resource using default parameter values.
|
static Resource |
Factory.createResource(String resourceClassName,
FeatureMap parameterValues)
Create an instance of a resource, and return it.
|
static Resource |
Factory.createResource(String resourceClassName,
FeatureMap parameterValues,
FeatureMap features)
Create an instance of a resource, and return it.
|
static Resource |
Factory.createResource(String resourceClassName,
FeatureMap parameterValues,
FeatureMap features,
String resourceName)
Create an instance of a resource, and return it.
|
static Resource |
Factory.defaultDuplicate(Resource res,
Factory.DuplicationContext ctx)
Implementation of the default duplication algorithm described in
the comment for
Factory.duplicate(Resource) . |
static FeatureMap |
Factory.duplicate(FeatureMap fm,
Factory.DuplicationContext ctx)
Construct a feature map that is a copy of the one provided except
that any
Resource values in the map are replaced by their
duplicates. |
static Resource |
Factory.duplicate(Resource res)
Create a duplicate of the given resource.
|
static Resource |
Factory.duplicate(Resource res,
Factory.DuplicationContext ctx)
Create a duplicate of the given resource, using the provided
context.
|
Object |
Resource.getParameterValue(String paramaterName)
Gets the value of a parameter of this resource.
|
Resource |
Resource.init()
Initialise this resource, and return it.
|
static Corpus |
Factory.newCorpus(String name)
Create a new transient Corpus.
|
static Document |
Factory.newDocument(String content)
Create a new transient textual Document from a string.
|
static Document |
Factory.newDocument(URL sourceUrl)
Create a new transient Document from a URL.
|
static Document |
Factory.newDocument(URL sourceUrl,
String encoding)
Create a new transient Document from a URL and an encoding.
|
void |
SimpleCorpus.populate(URL directory,
FileFilter filter,
String encoding,
boolean recurseDirectories)
Fills this corpus with documents created on the fly from selected
files in a directory.
|
void |
SimpleCorpus.populate(URL directory,
FileFilter filter,
String encoding,
String mimeType,
boolean recurseDirectories)
Fills this corpus with documents created on the fly from selected
files in a directory.
|
long |
SimpleCorpus.populate(URL singleConcatenatedFile,
String documentRootElement,
String encoding,
int numberOfDocumentsToExtract,
String documentNamePrefix,
String mimeType,
boolean includeRootElement)
Fills the provided corpus with documents extracted from the
provided trec file.
|
void |
ProcessingResource.reInit()
Reinitialises the processing resource.
|
void |
Resource.setParameterValue(String paramaterName,
Object parameterValue)
Sets the value for a specified parameter.
|
void |
Resource.setParameterValues(FeatureMap parameters)
Sets the values for more parameters in one step.
|
Modifier and Type | Method and Description |
---|---|
Object |
CorpusAnnotationDiff.getParameterValue(String paramaterName)
Gets the value of a parameter of this resource.
|
Resource |
CorpusAnnotationDiff.init()
This method does the diff, Precision,Recall,FalsePositive
calculation and so on.
|
void |
CorpusAnnotationDiff.setParameterValue(String paramaterName,
Object parameterValue)
Sets the value for a specified parameter.
|
void |
CorpusAnnotationDiff.setParameterValues(FeatureMap parameters)
Sets the values for more parameters in one step.
|
Modifier and Type | Method and Description |
---|---|
Resource |
CorpusImpl.duplicate(Factory.DuplicationContext ctx)
Custom duplication for a corpus - duplicate this corpus in the
usual way, then duplicate the documents in this corpus and add them
to the duplicate.
|
Resource |
SerialCorpusImpl.duplicate(Factory.DuplicationContext ctx)
SerialCorpusImpl does not support duplication.
|
Resource |
DocumentImpl.init()
Initialise this resource, and return it.
|
Resource |
NekoHtmlDocumentFormat.init()
Initialise this resource, and return it.
|
Resource |
XmlDocumentFormat.init()
Initialise this resource, and return it.
|
Resource |
TextualDocumentFormat.init()
Initialise this resource, and return it.
|
Resource |
TikaFormat.init() |
Resource |
UimaDocumentFormat.init() |
Resource |
SgmlDocumentFormat.init()
Initialise this resource, and return it.
|
Resource |
EmailDocumentFormat.init()
Initialise this resource, and return it.
|
Resource |
SerialCorpusImpl.init() |
Resource |
ConllDocumentFormat.init()
Initialise this resource, and return it.
|
void |
CorpusImpl.populate(URL directory,
FileFilter filter,
String encoding,
boolean recurseDirectories)
Fills this corpus with documents created from files in a directory.
|
void |
SerialCorpusImpl.populate(URL directory,
FileFilter filter,
String encoding,
boolean recurseDirectories)
Fills this corpus with documents created from files in a directory.
|
void |
CorpusImpl.populate(URL directory,
FileFilter filter,
String encoding,
String mimeType,
boolean recurseDirectories)
Fills this corpus with documents created from files in a directory.
|
void |
SerialCorpusImpl.populate(URL directory,
FileFilter filter,
String encoding,
String mimeType,
boolean recurseDirectories)
Fills this corpus with documents created from files in a directory.
|
long |
CorpusImpl.populate(URL singleConcatenatedFile,
String documentRootElement,
String encoding,
int numberOfFilesToExtract,
String documentNamePrefix,
String mimeType,
boolean includeRootElement)
Fills the provided corpus with documents extracted from the
provided single concatenated file.
|
long |
SerialCorpusImpl.populate(URL singleConcatenatedFile,
String documentRootElement,
String encoding,
int numberOfFilesToExtract,
String documentNamePrefix,
String mimeType,
boolean includeRootElement)
Fills the provided corpus with documents extracted from the
provided single concatenated file.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
AbstractResource.checkParameterValues(Resource resource,
List<List<Parameter>> parameters)
Checks whether the provided
Resource has values for all the
required parameters from the provided list of parameters. |
Resource |
CustomDuplication.duplicate(Factory.DuplicationContext ctx)
Create a duplicate of this resource.
|
Resource |
SerialController.duplicate(Factory.DuplicationContext ctx)
Duplicate this controller.
|
Resource |
ConditionalSerialController.duplicate(Factory.DuplicationContext ctx)
Custom duplication method for conditional controllers to handle
duplicating the running strategies.
|
void |
AnnotationSchema.fromXSchema(InputStream anXSchemaInputStream)
Creates an AnnotationSchema object from an XSchema file
|
void |
AnnotationSchema.fromXSchema(ResourceReference anXSchemaURL)
Creates an AnnotationSchema object from an XSchema file
|
void |
AnnotationSchema.fromXSchema(URL anXSchemaURL)
Deprecated.
use a ResourceReference instead
|
FeatureMap |
AbstractVisualResource.getInitParameterValues()
Get the current values for all this resource's registered
init-time parameters.
|
FeatureMap |
AbstractResource.getInitParameterValues()
Get the current values for all this resource's registered
init-time parameters.
|
static FeatureMap |
AbstractResource.getInitParameterValues(Resource res)
Get the current values for all of a specified resource's
registered init-time parameters.
|
List<ProcessingResource> |
SerialAnalyserController.getOffendingPocessingResources()
Checks whether all the contained PRs have all the required runtime
parameters set.
|
List<ProcessingResource> |
ConditionalSerialAnalyserController.getOffendingPocessingResources()
Checks whether all the contained PRs have all the required runtime
parameters set.
|
List<ProcessingResource> |
AbstractController.getOffendingPocessingResources()
Checks whether all the contained PRs have all the required runtime
parameters set.
|
static Object |
AbstractResource.getParameterValue(Resource resource,
String paramaterName)
Gets the value of a parameter for a resource.
|
Object |
AbstractVisualResource.getParameterValue(String paramaterName)
Gets the value of a parameter of this resource.
|
Object |
AbstractResource.getParameterValue(String paramaterName)
Gets the value of a parameter of this resource.
|
static FeatureMap |
AbstractResource.getParameterValues(Resource res,
List<List<Parameter>> params)
Get the current values of the given parameters from the given
resource.
|
FeatureMap |
AbstractProcessingResource.getRuntimeParameterValues()
Get the current values for all this resource's registered
init-time parameters.
|
static FeatureMap |
AbstractProcessingResource.getRuntimeParameterValues(Resource res)
Get the current values for all of a specified resource's
registered runtime parameters.
|
Resource |
RealtimeCorpusController.init() |
Resource |
AbstractProcessingResource.init()
Initialise this resource, and return it.
|
Resource |
AbstractVisualResource.init()
Initialise this resource, and return it.
|
Resource |
AbstractResource.init()
Initialise this resource, and return it.
|
Resource |
AbstractController.init()
Initialise this resource, and return it.
|
Resource |
AnnotationSchema.init()
Initialise this resource, and return it.
|
void |
AbstractProcessingResource.reInit()
Reinitialises the processing resource.
|
void |
AbstractController.reInit() |
static void |
AbstractResource.setParameterValue(Resource resource,
BeanInfo resBeanInf,
String paramaterName,
Object parameterValue)
Sets the value for a specified parameter for a resource.
|
void |
AbstractVisualResource.setParameterValue(String paramaterName,
Object parameterValue)
Sets the value for a specified parameter.
|
void |
AbstractResource.setParameterValue(String paramaterName,
Object parameterValue)
Sets the value for a specified parameter for this resource.
|
void |
AbstractVisualResource.setParameterValues(FeatureMap parameters)
Sets the values for more parameters in one step.
|
void |
AbstractResource.setParameterValues(FeatureMap parameters)
Sets the values for more parameters for this resource in one step.
|
static void |
AbstractResource.setParameterValues(Resource resource,
FeatureMap parameters)
Sets the values for more parameters for a resource in one step.
|
Modifier and Type | Method and Description |
---|---|
static Ontology |
OntologyUtilities.getOntology(URL url)
Deprecated.
- this method should be avoided
|
Modifier and Type | Method and Description |
---|---|
Object |
FeaturesSchemaEditor.getParameterValue(String paramaterName)
Gets the value of a parameter of this resource.
|
Object |
SerialDatastoreViewer.getParameterValue(String paramaterName)
Gets the value of a parameter of this resource.
|
Resource |
ResourceHelper.init() |
Resource |
FeaturesSchemaEditor.init()
Initialise this resource, and return it.
|
Resource |
PRViewer.init() |
Resource |
SerialDatastoreViewer.init()
Initialise this resource, and return it.
|
Resource |
ControllerMetadataViewer.init() |
Resource |
SerialControllerEditor.init() |
void |
ResourceParametersEditor.setParameters()
Sets the parameters for the resource to their new values as
resulted from the user's edits.
|
void |
FeaturesSchemaEditor.setParameterValue(String paramaterName,
Object parameterValue)
Sets the value for a specified parameter.
|
void |
SerialDatastoreViewer.setParameterValue(String paramaterName,
Object parameterValue)
Sets the value for a specified parameter.
|
void |
FeaturesSchemaEditor.setParameterValues(FeatureMap parameters)
Sets the values for more parameters in one step.
|
void |
SerialDatastoreViewer.setParameterValues(FeatureMap parameters)
Sets the values for more parameters in one step.
|
Modifier and Type | Method and Description |
---|---|
protected OwnedAnnotationEditor |
AnnotationSetsView.createAnnotationEditor(TextualDocumentView textView,
AnnotationSetsView asView)
Create the annotation editor (responsible for creating the window
used to edit individual annotations).
|
Resource |
DocumentEditor.init() |
Resource |
AnnotationEditor.init() |
Modifier and Type | Method and Description |
---|---|
protected void |
CorpusBenchmarkTool.evaluateAllThree(Document persDoc,
Document cleanDoc,
Document markedDoc,
File errDir) |
protected void |
CorpusBenchmarkTool.evaluateDocuments(Document persDoc,
Document cleanDoc,
Document markedDoc,
File errDir) |
protected void |
CorpusBenchmarkTool.evaluateTwoDocs(Document keyDoc,
Document respDoc,
File errDir) |
protected AnnotationDiffer |
CorpusBenchmarkTool.measureDocs(Document keyDoc,
Document respDoc,
String annotType) |
Modifier and Type | Method and Description |
---|---|
Object |
MapPersistence.createObject()
Creates a new object from the data contained.
|
Object |
AnalyserRunningStrategyPersistence.createObject() |
Object |
PRPersistence.createObject()
Creates a new object from the data contained.
|
Object |
PersistenceManager.SlashDevSlashNull.createObject()
Returns null
|
Object |
PersistenceManager.RRPersistence.createObject() |
Object |
UnconditionalRunningStrategyPersistence.createObject() |
Object |
LRPersistence.createObject()
Creates a new object from the data contained.
|
Object |
SerialAnalyserControllerPersistence.createObject()
Creates a new object from the data contained.
|
Object |
ControllerPersistence.createObject()
Creates a new object from the data contained.
|
Object |
CollectionPersistence.createObject()
Creates a new object from the data contained.
|
Object |
LanguageAnalyserPersistence.createObject()
Creates a new object from the data contained.
|
Object |
CorpusPersistence.createObject()
Creates a new object from the data contained.
|
Object |
ConditionalControllerPersistence.createObject()
Creates a new object from the data contained.
|
Object |
DSPersistence.createObject()
Creates a new object from the data contained.
|
Object |
ConditionalSerialAnalyserControllerPersistence.createObject()
Creates a new object from the data contained.
|
Object |
Persistence.createObject()
Creates a new object from the data contained.
|
static Object |
PersistenceManager.getTransientRepresentation(Object target) |
static Object |
PersistenceManager.getTransientRepresentation(Object target,
String containingControllerName,
Map<String,Map<String,Object>> initParamOverrides) |
static Object |
PersistenceManager.loadObjectFromFile(File file) |
static Object |
PersistenceManager.loadObjectFromUri(URI uri) |
static Object |
PersistenceManager.loadObjectFromUrl(URL url) |
Copyright © 2024 GATE. All rights reserved.