|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use FeatureMap | |
|---|---|
| gate | This package contains the public interface to the GATE Java API. |
| gate.annotation | |
| gate.config | |
| gate.corpora | |
| gate.creole | |
| gate.creole.gazetteer | |
| gate.creole.tokeniser | |
| gate.gui | |
| gate.gui.annedit | |
| gate.gui.docview | |
| gate.jape | |
| gate.jape.functest | |
| gate.persist | |
| gate.util | |
| gate.util.spring | |
| Uses of FeatureMap in gate |
|---|
| Methods in gate that return FeatureMap | |
|---|---|
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 FeatureMap |
Utils.featureMap(Object... values)
Create a feature map from an array of values. |
FeatureMap |
DocumentFormat.getFeatures()
Get the feature set |
static FeatureMap |
Factory.newFeatureMap()
Create a new FeatureMap. |
static FeatureMap |
Utils.toFeatureMap(Map map)
Create a feature map from an existing map (typically one that does not itself implement FeatureMap). |
| Methods in gate with parameters of type FeatureMap | |
|---|---|
void |
AnnotationSet.add(Integer id,
Long start,
Long end,
String type,
FeatureMap features)
Create and add an annotation with a pre-existing ID. |
Integer |
SimpleAnnotationSet.add(Long start,
Long end,
String type,
FeatureMap features)
Create and add an annotation and return its id. |
Integer |
SimpleAnnotationSet.add(Node start,
Node end,
String type,
FeatureMap features)
Create and add an annotation with pre-existing nodes, and return its id. |
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 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. |
AnnotationSet |
AnnotationSet.get(String type,
FeatureMap constraints)
Select annotations by type and feature values. |
AnnotationSet |
AnnotationSet.get(String type,
FeatureMap constraints,
Long offset)
Select annotations by type, features and offset. |
AnnotationGraph |
AnnotationGraph.getAnnotations(String type,
FeatureMap features)
Get annotations by type and features |
AnnotationGraph |
AnnotationGraph.getAnnotations(String type,
FeatureMap features,
Long offset)
Get annotations by type, features and offset |
static boolean |
Gate.getHiddenAttribute(FeatureMap fm)
Returns the value for the HIDDEN attribute of a feature map |
void |
DocumentFormat.setFeatures(FeatureMap features)
Set the features map |
static void |
Gate.setHiddenAttribute(FeatureMap fm,
boolean hidden)
Sets the value for the HIDDEN attribute of a feature map |
void |
Resource.setParameterValues(FeatureMap parameters)
Sets the values for more parameters in one step. |
boolean |
FeatureMap.subsumes(FeatureMap aFeatureMap)
Tests if this featureMap object includes aFeatureMap features. |
boolean |
FeatureMap.subsumes(FeatureMap aFeatureMap,
Set aFeatureNamesSet)
Tests if this featureMap object includes aFeatureMap but only for the features present in the aFeatureNamesSet. |
boolean |
FeatureMap.subsumes(Ontology ontologyLR,
FeatureMap aFeatureMap)
Tests if this featureMap object includes aFeatureMap features. |
| Uses of FeatureMap in gate.annotation |
|---|
| Fields in gate.annotation declared as FeatureMap | |
|---|---|
protected FeatureMap |
TestAnnotation.emptyFeatureMap
An empty feature map |
protected FeatureMap |
TestDatabaseAnnotationSet.emptyFeatureMap
An empty feature map |
| Methods in gate.annotation with parameters of type FeatureMap | |
|---|---|
void |
AnnotationSetImpl.add(Integer id,
Long start,
Long end,
String type,
FeatureMap features)
Create and add an annotation from database read data In this case the id is already known being previously fetched from the database |
void |
ImmutableAnnotationSetImpl.add(Integer id,
Long start,
Long end,
String type,
FeatureMap features)
|
Integer |
AnnotationSetImpl.add(Long start,
Long end,
String type,
FeatureMap features)
Create and add an annotation and return its id |
Integer |
ImmutableAnnotationSetImpl.add(Long start,
Long end,
String type,
FeatureMap features)
|
Integer |
AnnotationSetImpl.add(Node start,
Node end,
String type,
FeatureMap features)
Create and add an annotation with pre-existing nodes, and return its id. |
Integer |
ImmutableAnnotationSetImpl.add(Node start,
Node end,
String type,
FeatureMap features)
The following methods throw an exception as they try to modify the state of the object |
protected Annotation |
TestAnnotation.createAnnotation(Integer id,
Node start,
Node end,
String type,
FeatureMap features)
|
Annotation |
AnnotationFactory.createAnnotationInSet(AnnotationSet set,
Integer id,
Node start,
Node end,
String type,
FeatureMap features)
Adds a new AnnotationImpl to the given set. |
Annotation |
DefaultAnnotationFactory.createAnnotationInSet(AnnotationSet set,
Integer id,
Node start,
Node end,
String type,
FeatureMap features)
|
AnnotationSet |
AnnotationSetImpl.get(String type,
FeatureMap constraints)
Select annotations by type and features This will return an annotation set containing just those annotations of a particular type (i.e. with a particular name) and which have features with specific names and values. |
AnnotationSet |
AnnotationSetImpl.get(String type,
FeatureMap constraints,
Long offset)
Select annotations by type, features and offset |
void |
AnnotationImpl.setFeatures(FeatureMap features)
Set the feature set. |
void |
CorpusAnnotationDiff.setParameterValues(FeatureMap parameters)
Sets the values for more parameters in one step. |
| Constructors in gate.annotation with parameters of type FeatureMap | |
|---|---|
AnnotationImpl(Integer id,
Node start,
Node end,
String type,
FeatureMap features)
Constructor. |
|
| Uses of FeatureMap in gate.config |
|---|
| Methods in gate.config that return FeatureMap | |
|---|---|
protected FeatureMap |
ConfigXmlHandler.attributeListToParameterList()
Utility method to convert the current SAX attribute list to a FeatureMap |
| Uses of FeatureMap in gate.corpora |
|---|
| Methods in gate.corpora that return FeatureMap | |
|---|---|
FeatureMap |
DocumentImpl.getFeatures()
Cover unpredictable Features creation |
static FeatureMap |
DocumentStaxUtils.readFeatureMap(javax.xml.stream.XMLStreamReader xsr)
Processes a GateDocumentFeatures or Annotation element to build a feature map. |
static FeatureMap |
DocumentStaxUtils.readXcesFeatureMap(javax.xml.stream.XMLStreamReader xsr)
Processes a struct element to build a feature map. |
| Methods in gate.corpora with parameters of type FeatureMap | |
|---|---|
static StringBuffer |
DocumentXmlUtils.featuresToXml(FeatureMap aFeatureMap,
Map normalizedFeatureNames)
This method saves a FeatureMap as XML elements. |
void |
DatabaseCorpusImpl.setFeatures(FeatureMap features)
Set the feature set |
void |
DatabaseDocumentImpl.setFeatures(FeatureMap features)
Set the feature set |
static void |
DocumentStaxUtils.writeFeatures(FeatureMap features,
javax.xml.stream.XMLStreamWriter xsw,
String namespaceURI)
Write a feature map to the given XMLStreamWriter. |
| Constructors in gate.corpora with parameters of type FeatureMap | |
|---|---|
DatabaseCorpusImpl(String _name,
DatabaseDataStore _ds,
Long _persistenceID,
FeatureMap _features,
Vector _dbDocs)
|
|
| Uses of FeatureMap in gate.creole |
|---|
| Fields in gate.creole declared as FeatureMap | |
|---|---|
protected FeatureMap |
AbstractVisualResource.features
|
| Methods in gate.creole that return FeatureMap | |
|---|---|
FeatureMap |
ParameterList.getDefaults(List<List<Parameter>> parameters)
Get default parameter value set. |
FeatureMap |
AbstractVisualResource.getFeatures()
Accessor for features. |
FeatureMap |
ParameterList.getInitimeDefaults()
Get default initime parameter value set. |
FeatureMap |
ParameterList.getRuntimeDefaults()
Get default runtime parameter value set. |
| Methods in gate.creole with parameters of type FeatureMap | |
|---|---|
void |
AbstractVisualResource.setFeatures(FeatureMap features)
Mutator for features |
void |
AbstractResource.setParameterValues(FeatureMap parameters)
Sets the values for more parameters for this resource in one step. |
void |
AbstractVisualResource.setParameterValues(FeatureMap parameters)
Sets the values for more parameters in one step. |
static void |
AbstractResource.setParameterValues(Resource resource,
FeatureMap parameters)
Sets the values for more parameters for a resource in one step. |
| Uses of FeatureMap in gate.creole.gazetteer |
|---|
| Fields in gate.creole.gazetteer declared as FeatureMap | |
|---|---|
protected FeatureMap |
AbstractGazetteer.features
A map of the features |
| Methods in gate.creole.gazetteer that return FeatureMap | |
|---|---|
FeatureMap |
AbstractGazetteer.getFeatures()
|
| Methods in gate.creole.gazetteer with parameters of type FeatureMap | |
|---|---|
void |
AbstractGazetteer.setFeatures(FeatureMap features)
|
| Uses of FeatureMap in gate.creole.tokeniser |
|---|
| Fields in gate.creole.tokeniser declared as FeatureMap | |
|---|---|
protected FeatureMap |
SimpleTokeniser.features
|
| Methods in gate.creole.tokeniser that return FeatureMap | |
|---|---|
FeatureMap |
SimpleTokeniser.getFeatures()
|
| Methods in gate.creole.tokeniser with parameters of type FeatureMap | |
|---|---|
void |
SimpleTokeniser.setFeatures(FeatureMap features)
|
| Uses of FeatureMap in gate.gui |
|---|
| Fields in gate.gui declared as FeatureMap | |
|---|---|
protected FeatureMap |
FeaturesSchemaEditor.features
|
protected FeatureMap |
OracleDatastoreViewer.features
|
protected FeatureMap |
SerialDatastoreViewer.features
|
| Methods in gate.gui that return FeatureMap | |
|---|---|
protected FeatureMap |
UnrestrictedAnnotationEditor.getCurrentAnnotationFeatures()
Deprecated. Returns the features edited with this tool |
FeatureMap |
FeaturesSchemaEditor.getFeatures()
Accessor for features. |
FeatureMap |
OracleDatastoreViewer.getFeatures()
Accessor for features. |
FeatureMap |
SerialDatastoreViewer.getFeatures()
Accessor for features. |
FeatureMap |
ResourceParametersEditor.getParameterValues()
Gets the current values for the parameters. |
FeatureMap |
NewResourceDialog.getSelectedParameters()
Returns the selected params for the resource or null if none was selected or the user pressed cancel |
FeatureMap |
FeatureMapEditorDialog.showDialog()
Make this dialog visible allowing the editing of the list. |
| Methods in gate.gui with parameters of type FeatureMap | |
|---|---|
protected void |
FeatureMapEditorDialog.initLocalData(FeatureMap data)
|
void |
FeaturesSchemaEditor.setFeatures(FeatureMap features)
Mutator for features |
void |
OracleDatastoreViewer.setFeatures(FeatureMap features)
Mutator for features |
void |
SerialDatastoreViewer.setFeatures(FeatureMap features)
Mutator for features |
void |
FeaturesSchemaEditor.setParameterValues(FeatureMap parameters)
Sets the values for more parameters in one step. |
void |
OracleDatastoreViewer.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. |
void |
FeaturesSchemaEditor.setTargetFeatures(FeatureMap features)
|
protected String |
ResourceParametersEditor.textForFeatureMap(FeatureMap fm)
Get a string representation for a FeatureMap value. |
| Constructors in gate.gui with parameters of type FeatureMap | |
|---|---|
FeatureMapEditorDialog(Component owner,
FeatureMap data)
Contructs a new FeatureMapEditorDialog. |
|
| Uses of FeatureMap in gate.gui.annedit |
|---|
| Fields in gate.gui.annedit declared as FeatureMap | |
|---|---|
protected FeatureMap |
SchemaFeaturesEditor.featureMap
The feature map currently being edited. |
| Methods in gate.gui.annedit with parameters of type FeatureMap | |
|---|---|
void |
SchemaFeaturesEditor.editFeatureMap(FeatureMap featureMap)
Method called to initiate editing of a new feature map. |
| Uses of FeatureMap in gate.gui.docview |
|---|
| Methods in gate.gui.docview with parameters of type FeatureMap | |
|---|---|
void |
AnnotationStack.addAnnotation(int startOffset,
int endOffset,
String type,
FeatureMap features)
Add an annotation to the current stack row. |
| Uses of FeatureMap in gate.jape |
|---|
| Fields in gate.jape declared as FeatureMap | |
|---|---|
protected FeatureMap |
Constraint.ontFeatureMap
FeatureMap that may contain ontology-related features and values pulled from any predicates that operate on those features |
protected FeatureMap |
DefaultActionContext.prfeatures
|
| Methods in gate.jape that return FeatureMap | |
|---|---|
FeatureMap |
Batch.getFeatures()
|
protected FeatureMap |
Constraint.getOntFeatureMap()
Generate a FeatureMap to perform ontology-related compare. |
FeatureMap |
ActionContext.getPRFeatures()
Provide access to the feature map associated with the JAPE processing resource. |
FeatureMap |
DefaultActionContext.getPRFeatures()
|
| Methods in gate.jape with parameters of type FeatureMap | |
|---|---|
void |
Batch.setFeatures(FeatureMap newFeatures)
|
void |
DefaultActionContext.setPRFeatures(FeatureMap features)
|
| Constructors in gate.jape with parameters of type FeatureMap | |
|---|---|
Constraint(String annotType,
FeatureMap attrs)
Construction from annot type and FeatureMap. |
|
| Uses of FeatureMap in gate.jape.functest |
|---|
| Fields in gate.jape.functest declared as FeatureMap | |
|---|---|
protected static FeatureMap |
BaseJapeTests.BaseAnnotationCreator.emptyFeat
|
| Methods in gate.jape.functest with parameters of type FeatureMap | |
|---|---|
protected BaseJapeTests.AnnotationCreator |
BaseJapeTests.BaseAnnotationCreator.add(int start,
int end,
String type,
FeatureMap fm)
Add an annotation of the given type over the given range. |
| Uses of FeatureMap in gate.persist |
|---|
| Methods in gate.persist that return FeatureMap | |
|---|---|
protected abstract FeatureMap |
JDBCDataStore.readFeatures(Long entityID,
int entityType)
reads the features of an entity entities are of type LR or Annotation |
protected FeatureMap |
OracleDataStore.readFeatures(Long entityID,
int entityType)
reads the features of an entity entities are of type LR or Annotation |
protected FeatureMap |
PostgresDataStore.readFeatures(Long entityID,
int entityType)
reads the features of an entity entities are of type LR or Annotation |
| Methods in gate.persist with parameters of type FeatureMap | |
|---|---|
protected abstract void |
JDBCDataStore.createFeatures(Long entityID,
int entityType,
FeatureMap features)
|
protected void |
OracleDataStore.createFeatures(Long entityID,
int entityType,
FeatureMap features)
helper metod iterates a FeatureMap and creates all its features in the database |
protected void |
PostgresDataStore.createFeatures(Long entityID,
int entityType,
FeatureMap features)
helper metod iterates a FeatureMap and creates all its features in the database |
protected abstract void |
JDBCDataStore.createFeaturesBulk(Long entityID,
int entityType,
FeatureMap features)
|
protected void |
OracleDataStore.createFeaturesBulk(Long entityID,
int entityType,
FeatureMap features)
helper metod iterates a FeatureMap and creates all its features in the database since it uses Oracle VARRAYs the roundtrips between the client and the server are minimized make sure the two types STRING_ARRAY and INT_ARRAY have the same name in the PL/SQL files also when referencing the types always use the schema owner in upper case because the jdbc driver is buggy (see MetaLink note if u care) |
protected void |
PostgresDataStore.createFeaturesBulk(Long entityID,
int entityType,
FeatureMap features)
|
| Uses of FeatureMap in gate.util |
|---|
| Classes in gate.util that implement FeatureMap | |
|---|---|
class |
SimpleFeatureMapImpl
Simple case of features. |
| Fields in gate.util declared as FeatureMap | |
|---|---|
protected FeatureMap |
AbstractFeatureBearer.features
The feature set |
| Methods in gate.util that return FeatureMap | |
|---|---|
FeatureMap |
AbstractFeatureBearer.getFeatures()
Get the feature set |
FeatureMap |
FeatureBearer.getFeatures()
Get the feature set |
| Methods in gate.util with parameters of type FeatureMap | |
|---|---|
void |
AbstractFeatureBearer.setFeatures(FeatureMap features)
Set the feature set |
void |
FeatureBearer.setFeatures(FeatureMap features)
Set the feature set |
boolean |
SimpleFeatureMapImpl.subsumes(FeatureMap aFeatureMap)
Test if this featureMap includes all features from aFeatureMap However, if aFeatureMap contains a feature whose value is equal to gate.creole.ANNIEConstants.LOOKUP_CLASS_FEATURE_NAME (which is normally "class"), then GATE will attempt to match that feature using an ontology which it will try to retreive from a feature in both the feature map through which this method is called and in aFeatureMap. |
boolean |
SimpleFeatureMapImpl.subsumes(FeatureMap aFeatureMap,
Set aFeatureNamesSet)
Tests if this featureMap object includes aFeatureMap but only for the those features present in the aFeatureNamesSet. |
boolean |
SimpleFeatureMapImpl.subsumes(Ontology ontologyLR,
FeatureMap aFeatureMap)
Tests if this featureMap object includes aFeatureMap features. |
| Uses of FeatureMap in gate.util.spring |
|---|
| Methods in gate.util.spring that return FeatureMap | |
|---|---|
static FeatureMap |
SpringFactory.createFeatureMap(Map sourceMap)
Creates a feature map from a source map. |
| Methods in gate.util.spring with parameters of type FeatureMap | |
|---|---|
void |
GateResourceFactoryBean.setFeatures(FeatureMap features)
|
void |
GateResourceFactoryBean.setParameters(FeatureMap parameters)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||