Package | Description |
---|---|
it.uniroma2.art.coda.core | |
it.uniroma2.art.coda.depends | |
it.uniroma2.art.coda.exception | |
it.uniroma2.art.coda.pearl.model |
Modifier and Type | Method and Description |
---|---|
static List<Object> |
UIMACODAUtilities.adaptArgumentList(Method m,
List<Object> argumentList) |
static List<Object> |
UIMACODAUtilities.evaluateConverterArgumentExpression(ConverterArgumentExpression expr,
com.google.common.collect.Multimap<String,Object> placeholder2valueMap) |
org.eclipse.rdf4j.model.Value |
CODACore.executeLiteralConverter(ConverterMention converterMention,
Object inputValue,
String datatype,
String lang)
Executes a converter to generate a literal from an Object value.
|
org.eclipse.rdf4j.model.Value |
CODACore.executeLiteralConverter(ConverterMention converterMention,
String datatype,
String lang)
Executes a converter to generate a literal from a
null value. |
org.eclipse.rdf4j.model.Value |
CODACore.executeLiteralConverter(String converter,
String value,
String datatype,
String lang)
Executes a converter to generate a literal from an String value.
|
org.eclipse.rdf4j.model.Value |
CODACore.executeProjectionOperator(ProjectionOperator projectionOperator)
Executes a projection operator to produce an RDF node (either a URI or a literal, depending the type of
projection operator).
|
org.eclipse.rdf4j.model.Value |
CODACore.executeProjectionOperator(ProjectionOperator projectionOperator,
Object inputValue)
Executes a projection operator to produce an RDF node (either a URI or a literal, depending the type of
projection operator).
|
void |
CODACore.executeProjectionRule(ProjectionRule pr,
org.apache.uima.jcas.tcas.Annotation annotation,
SuggOntologyCoda suggOntCoda,
boolean addNodeNamesInGraph,
boolean addNodeAssignmentMap)
Executes a projection rule
pr against an annotation storing the suggestions
in the provided strucuture. |
private void |
CODACore.executeRegex(RegexProjectionRule rpr,
org.apache.uima.jcas.JCas jcas,
SuggOntologyCoda suggOntCoda,
org.apache.uima.cas.FSIterator<org.apache.uima.jcas.tcas.Annotation> iterAnnotation,
org.apache.uima.jcas.tcas.Annotation currentAnnotation,
boolean useSuperTypes,
boolean addNodeNamesInGraph) |
org.eclipse.rdf4j.model.IRI |
CODACore.executeURIConverter(ConverterMention converterMention)
Executes a converter to generate a URI from a
null . |
org.eclipse.rdf4j.model.IRI |
CODACore.executeURIConverter(ConverterMention converterMention,
Object inputValue)
Executes a converter to generate a URI from an Object value.
|
org.eclipse.rdf4j.model.Value |
CODACore.executeURIConverter(String converter)
Executes a converter to generate a URI from a
null value. |
org.eclipse.rdf4j.model.Value |
CODACore.executeURIConverter(String converter,
String inputValue)
Executes a converter to generate a URI from a String value.
|
private static List<Object> |
UIMACODAUtilities.explodeSingleConverterArgument(ConverterArgumentExpression arg,
com.google.common.collect.Multimap<String,Object> placeholder2valueMap) |
private List<org.eclipse.rdf4j.model.Value> |
CODACore.generateRDFNodeFromGraphSingleElementForRegex(GraphSingleElement gse,
RegexProjectionRule rpr,
RegexResults regexResults) |
private List<CODATriple> |
CODACore.generateTriplesFromOptionalInRegex(RegexProjectionRule rpr,
OptionalGraphStruct ogs,
RegexResults regexResults,
boolean addNodeNamesInGraph) |
private void |
CODACore.generateTriplesFromRegex(RegexProjectionRule rpr,
RegexResults regexResults,
org.apache.uima.jcas.JCas jcas,
SuggOntologyCoda suggOntCoda,
boolean addNodeNamesInGraph) |
static org.eclipse.rdf4j.model.Value |
UIMACODAUtilities.getRDFValueFromUIMAValue(PlaceholderStruct placeholder,
ComponentProvider cp,
CODAContext ctx) |
static org.eclipse.rdf4j.model.Value |
UIMACODAUtilities.getRDFValueFromUIMAValue(PlaceholderStruct placeholder,
StringOrFeatureStruct valueOfFeatStruct,
ComponentProvider cp,
CODAContext ctx) |
static List<org.eclipse.rdf4j.model.Value> |
UIMACODAUtilities.getRDFValuesFromUIMAValue(boolean hasFeaturePath,
Object initialValue,
String rdfType,
String literalDatatype,
String literalLang,
List<ConverterMention> converterList,
ComponentProvider cp,
CODAContext ctx,
com.google.common.collect.Multimap<String,Object> placeholder2valueMap,
Map<String,Map<org.apache.commons.lang3.tuple.Pair<ProjectionOperator,Object>,org.eclipse.rdf4j.model.Value>> memoizedProjectionsMaps,
String memoizationMapName)
Computes a (possibly empty) collection of ART Nodes through the execution of a converter.
|
static List<org.eclipse.rdf4j.model.Value> |
UIMACODAUtilities.getRDFValuesFromUIMAValue(PlaceholderStruct placeholder,
StringOrFeatureStruct valueOfFeatStruct,
ComponentProvider cp,
CODAContext ctx,
com.google.common.collect.Multimap<String,Object> placeholder2valueMap,
Map<String,Map<org.apache.commons.lang3.tuple.Pair<ProjectionOperator,Object>,org.eclipse.rdf4j.model.Value>> memoizedProjectionsMap) |
private static Map<String,Object> |
UIMACODAUtilities.homogenizeMap(Map<String,Object> aMap) |
(package private) List<SuggOntologyCoda> |
CODACore.processAllAnnotation()
Processes all annotation found in the current CAS, and returns a list of the suggestions originate from
each annotation.
|
List<SuggOntologyCoda> |
CODACore.processAllAnnotation(boolean useSuperTypes)
Processes all annotation found in the current CAS, and returns a list of the suggestions originated
from each annotation.
|
List<SuggOntologyCoda> |
CODACore.processAllAnnotation(boolean addNodeAssignmentMap,
boolean addNodeNamesInGraph) |
List<SuggOntologyCoda> |
CODACore.processAllAnnotation(boolean useSuperTypes,
boolean addNodeAssignmentMap,
boolean addNodeNamesInGraph)
Processes all annotation found in the current CAS, and returns a list of the suggestions originated
from each annotation.
|
SuggOntologyCoda |
CODACore.processNextAnnotation()
Processes the next annotation and returns the suggestions originated from it.
|
SuggOntologyCoda |
CODACore.processNextAnnotation(boolean useSuperTypes)
Processes the next annotation and returns the suggestions originated from it.
|
SuggOntologyCoda |
CODACore.processNextAnnotation(boolean addNodeAssignmentMap,
boolean addNodeNamesInGraph) |
SuggOntologyCoda |
CODACore.processNextAnnotation(boolean useSuperTypes,
boolean addNodeAssignmentMap,
boolean addNodeNamesInGraph)
Processes the next annotation and returns the suggestions originated from it.
|
private static Map<String,Object> |
UIMACODAUtilities.promoteMap(Map<String,Object> aMap,
Class<?> target) |
Modifier and Type | Method and Description |
---|---|
List<ValuesFromAnAnnotation> |
DependsPrevious.execute(DependsOnInfo dependsOnInfo,
org.apache.uima.jcas.tcas.Annotation annotation,
org.apache.uima.jcas.JCas jcas,
ProjectionRulesModel projectionRulesModel,
ProjectionRule projRule,
ComponentProvider cp,
CODAContext ctx) |
List<ValuesFromAnAnnotation> |
DependsNext.execute(DependsOnInfo dependsOnInfo,
org.apache.uima.jcas.tcas.Annotation annotation,
org.apache.uima.jcas.JCas jcas,
ProjectionRulesModel projectionRulesModel,
ProjectionRule projRule,
ComponentProvider cp,
CODAContext ctx) |
List<ValuesFromAnAnnotation> |
DependsLastOneOf.execute(DependsOnInfo dependsOnInfo,
org.apache.uima.jcas.tcas.Annotation annotation,
org.apache.uima.jcas.JCas jcas,
ProjectionRulesModel projectionRulesModel,
ProjectionRule projRule,
ComponentProvider cp,
CODAContext ctx) |
List<ValuesFromAnAnnotation> |
DependsLast.execute(DependsOnInfo dependsOnInfo,
org.apache.uima.jcas.tcas.Annotation annotation,
org.apache.uima.jcas.JCas jcas,
ProjectionRulesModel projectionRulesModel,
ProjectionRule projRule,
ComponentProvider cp,
CODAContext ctx) |
List<ValuesFromAnAnnotation> |
DependsFollowing.execute(DependsOnInfo dependsOnInfo,
org.apache.uima.jcas.tcas.Annotation annotation,
org.apache.uima.jcas.JCas jcas,
ProjectionRulesModel projectionRulesModel,
ProjectionRule projRule,
ComponentProvider cp,
CODAContext ctx) |
List<ValuesFromAnAnnotation> |
DependsBetween.execute(DependsOnInfo dependsOnInfo,
org.apache.uima.jcas.tcas.Annotation annotation,
org.apache.uima.jcas.JCas jcas,
ProjectionRulesModel projectionRulesModel,
ProjectionRule projRule,
ComponentProvider cp,
CODAContext ctx) |
abstract List<ValuesFromAnAnnotation> |
DependsAbstactClass.execute(DependsOnInfo dependsOnInfo,
org.apache.uima.jcas.tcas.Annotation annotation,
org.apache.uima.jcas.JCas jcas,
ProjectionRulesModel projectionRulesModel,
ProjectionRule projRule,
ComponentProvider cp,
CODAContext ctx) |
protected ValuesFromAnAnnotation |
DependsAbstactClass.getValuesFromAnAnnotation(DependsOnInfo dependsOnInfo,
ProjectionRule projRule,
ProjectionRule depProjRule,
org.apache.uima.jcas.tcas.Annotation candidateAnnotaion,
CODAContext ctx,
ComponentProvider cp) |
Modifier and Type | Class and Description |
---|---|
class |
ConversionException |
class |
ConverterConfigurationException |
Modifier and Type | Method and Description |
---|---|
List<ProjectionOperator> |
ProjectionOperator.instatiateWithPlaceholderValues(com.google.common.collect.Multimap<String,Object> placeholder2valueMap)
Instantiates this
ProjectionOperator using the provided values for placeholders. |
List<ConverterMention> |
ConverterMention.instatiateWithPlaceholderValues(com.google.common.collect.Multimap<String,Object> placeholder2valueMap)
Instantiates this
ConverterMention using the provided values for placeholders. |
Copyright © 2022 ART Group, University of Rome, Tor Vergata. All rights reserved.