Uses of Class
de.uni_mannheim.informatik.dws.melt.yet_another_alignment_api.Correspondence
Package
Description
This package contains mapping extraction approaches as shown in
Analyzing Mapping Extraction Approaches - C.
-
Uses of Correspondence in de.uni_mannheim.informatik.dws.melt.matching_eval.evaluator.metric.ranking
Modifier and TypeMethodDescriptionSameConfidenceRanking.sortAlignment
(Alignment systemAlignment, Alignment referenceAlignment) Sorts the system alignment and returns a list of correspondences.SameConfidenceRanking.sortAlignment
(Iterable<Correspondence> systemAlignment) Sorts the system alignment and returns a list of correspondences.SameConfidenceRanking.sortAlignment
(Iterable<Correspondence> systemAlignment, Collection<Correspondence> referenceAlignment) Sorts the system alignment and returns a list of correspondences.Modifier and TypeMethodDescriptionSameConfidenceRanking.sortAlignment
(Iterable<Correspondence> systemAlignment) Sorts the system alignment and returns a list of correspondences.SameConfidenceRanking.sortAlignment
(Iterable<Correspondence> systemAlignment, Collection<Correspondence> referenceAlignment) Sorts the system alignment and returns a list of correspondences.SameConfidenceRanking.sortAlignment
(Iterable<Correspondence> systemAlignment, Collection<Correspondence> referenceAlignment) Sorts the system alignment and returns a list of correspondences. -
Uses of Correspondence in de.uni_mannheim.informatik.dws.melt.matching_eval.evaluator.util
Modifier and TypeFieldDescriptionprivate HashMap<Correspondence,
HashMap<String, String>> AnalyticalAlignmentInformation.mappingInformation
Core data structure where all the analytical mapping information is held.Modifier and TypeMethodDescriptionvoid
AnalyticalAlignmentInformation.add
(Correspondence cell, String featureName, String featureValue) Add information about a cell.Modifier and TypeMethodDescriptionvoid
AnalyticalAlignmentInformation.addAll
(Iterable<Correspondence> cells, String featureName, String featureValue) Add multiple cells that have the same feature value.void
AnalyticalAlignmentInformation.addAll
(Iterable<Correspondence> cells, HashMap<String, String> features) Add multiple cells that have the same feature values. -
Uses of Correspondence in de.uni_mannheim.informatik.dws.melt.matching_eval.resultswriter.mappingdesc
Modifier and TypeMethodDescriptionIMappingDescription.getValue
(Correspondence c, org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target) -
Uses of Correspondence in de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.filter
Modifier and TypeMethodDescriptionprivate double
ConfidenceFilter.getThreshold
(Correspondence c, org.apache.jena.ontology.OntModel ont1, org.apache.jena.ontology.OntModel ont2) Modifier and TypeMethodDescriptionprivate Alignment
TopXFilter.filterTopX
(Iterator<Correspondence> iterator) -
Uses of Correspondence in de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.filter.extraction
Modifier and TypeFieldDescriptionprivate Correspondence
MwbEdge.correspondence
Payload of the edge: this is just used for later extraction of the correct alignment and for the weight of the edge.ModifierConstructorDescriptionMwbEdge
(MwbNode source, MwbNode target, Correspondence correspondence, int weight) -
Uses of Correspondence in de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.instancelevel
Modifier and TypeMethodDescriptionprivate void
MatchClassBasedOnInstances.saveValuesToFile
(Map<Correspondence, MatchClassBasedOnInstances.ClassMatchInfo> classAlignment, Map<String, Integer> instanceCounts, int instanceMappings) private void
MatchPropBasedOnInstances.saveValuesToFile
(Map<Correspondence, Integer> propertyAlignment, Map<String, Integer> sourceProperties, Map<String, Integer> targetProperties) -
Uses of Correspondence in de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.metalevel
Modifier and TypeMethodDescriptionprivate org.apache.commons.math3.util.ResizableDoubleArray
ConfidenceCombiner.getConfidences
(Correspondence c) void
MinMax.setConfidence
(Correspondence c, double newMin, double newMax) void
MinMax.updateMinMax
(Correspondence c) Modifier and TypeMethodDescriptionweka.core.Instances
MachineLearningWEKAFilter.getTestInstances
(Collection<Correspondence> alignment) Generates the weka instances which can be used for predicting unseen examples. -
Uses of Correspondence in de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.multisource.clustering
Modifier and TypeMethodDescriptionprivate static Double
FilterByErrorDegree.getErrorValue
(Map<Map.Entry<String, String>, Double> map, Correspondence correspondence) -
Uses of Correspondence in de.uni_mannheim.informatik.dws.melt.matching_ml.python
Modifier and TypeMethodDescriptionprivate static Alignment
MachineLearningScikitFilter.filterAlignment
(Alignment fullAlignment, List<Correspondence> orderedAlignment, List<Integer> predictions) PythonServer.queryDoc2VecModel
(String modelPath, List<Correspondence> alignment) Method to query a doc2vec model (which has to be trained with trainDoc2VecModel) in a batch mode.PythonServer.queryVectorSpaceModel
(String modelPath, List<Correspondence> alignment) Method to query a vector space model (which has to be trained with trainVectorSpaceModel) in a batch mode.private static void
MachineLearningScikitFilter.writeDataset
(List<Correspondence> alignment, File file, boolean includeTarget, List<String> confidenceNames) Writes the given alignment to a file. -
Uses of Correspondence in de.uni_mannheim.informatik.dws.melt.matching_ml.python.nlptransformers
Modifier and TypeMethodDescriptionLLMBinaryFilter.createPredictionFile
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment predictionAlignment, File outputFile, boolean append) Create the prediction file which is a CSV file with two columns.The first column is the text from the left resource and the second column is the text from the right resource.TransformersFilter.createPredictionFile
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment predictionAlignment, File outputFile, boolean append) Create the prediction file which is a CSV file with two columns.The first column is the text from the left resource and the second column is the text from the right resource.private List<Correspondence>
LLMChooseGivenEntityFilter.getList
(Iterable<Correspondence> a) Modifier and TypeMethodDescriptionprivate List<Correspondence>
LLMChooseGivenEntityFilter.getList
(Iterable<Correspondence> a) -
Uses of Correspondence in de.uni_mannheim.informatik.dws.melt.matching_ml.python.nlptransformers.relationprediction
Modifier and TypeMethodDescriptionRelationTypePredictor.createPredictionFile
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment predictionAlignment, File outputFile, boolean append) RelationTypePredictor.createPredictionFile
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment predictionAlignment, File outputFile, boolean append, boolean requiresSwitchExmaples) private Map<Correspondence,
List<RelationTypePredictionResult>> RelationTypePredictor.getSortedResults
(List<List<Double>> predictions, Map<Correspondence, List<Integer>> map) Modifier and TypeMethodDescriptionprivate Map<Correspondence,
List<RelationTypePredictionResult>> RelationTypePredictor.getSortedResults
(List<List<Double>> predictions, Map<Correspondence, List<Integer>> map) -
Uses of Correspondence in de.uni_mannheim.informatik.dws.melt.matching_ml.python.openea
Modifier and TypeMethodDescriptionprotected void
OpenEAMatcher.writeCorrespondences
(List<Correspondence> correspondences, File file) -
Uses of Correspondence in de.uni_mannheim.informatik.dws.melt.matching_ml.util
Modifier and TypeMethodDescriptionprivate void
TrainTestSplitAlignment.initializeTrainTest
(Alignment alignment, TrainTestSplit<Correspondence> split) ModifierConstructorDescriptionTrainTestSplitAlignment
(Alignment alignment, double train_ratio, long seed, Function<Correspondence, ?> stratify) TrainTestSplitAlignment
(Alignment alignment, double train_ratio, Function<Correspondence, ?> stratify) TrainTestSplitAlignment
(Alignment alignment, double train_ratio, Random rnd, Function<Correspondence, ?> stratify) -
Uses of Correspondence in de.uni_mannheim.informatik.dws.melt.matching_owlapi_matchers.logmap
Modifier and TypeMethodDescriptionprivate static int
Alignment2LogmapMapping.determineType
(Correspondence c, org.semanticweb.owlapi.model.OWLOntology source, org.semanticweb.owlapi.model.OWLOntology target) -
Uses of Correspondence in de.uni_mannheim.informatik.dws.melt.yet_another_alignment_api
Modifier and TypeFieldDescriptionstatic final com.googlecode.cqengine.attribute.Attribute<Correspondence,
Double> Correspondence.CONFIDENCE
protected com.googlecode.cqengine.index.navigable.NavigableIndex<Double,
Correspondence> Alignment.indexConfidence
protected com.googlecode.cqengine.index.hash.HashIndex<CorrespondenceRelation,
Correspondence> Alignment.indexRelation
protected com.googlecode.cqengine.index.hash.HashIndex<String,
Correspondence> Alignment.indexSource
protected com.googlecode.cqengine.index.hash.HashIndex<String,
Correspondence> Alignment.indexTarget
static final com.googlecode.cqengine.attribute.Attribute<Correspondence,
CorrespondenceRelation> Correspondence.RELATION
static final com.googlecode.cqengine.attribute.Attribute<Correspondence,
String> Correspondence.SOURCE
static final com.googlecode.cqengine.attribute.Attribute<Correspondence,
String> Correspondence.TARGET
Modifier and TypeMethodDescriptionAlignment.addAdditionalConfidence
(String entityOne, String entityTwo, Class<?> matcherClass, double confidence) Adds the correspondence if not existing or adds the extensions values and updates confidence value.Alignment.addAdditionalConfidenceAndExplanation
(String entityOne, String entityTwo, Class<?> matcherClass, double confidence, String explanation) Adds the correspondence if not existent or adds the extensions values and updates confidence value.Alignment.addAdditionalExplanation
(String entityOne, String entityTwo, Class<?> matcherClass, String explanation) Adds the correspondence if not existent or adds the extensions values and updates confidence value.Alignment.addOrModify
(Correspondence correspondence) Adds the correspondence if not existent or adds the extensions values and updates confidence value.Alignment.addOrModify
(String entityOne, String entityTwo, double confidence, CorrespondenceRelation relation, Map<String, Object> extensions) Adds the correspondence if not existent or adds the extensions values and updates confidence value.Alignment.addOrModify
(String entityOne, String entityTwo, String extensionKey, Object extensionValue) Adds the correspondence if not existent or adds the extensions values and updates confidence value.Adds the correspondence if not existent or adds the extensions values and updates confidence value.Alignment.addOrUseHighestConfidence
(Correspondence c) Adds the correspondence if not existing.Alignment.addOrUseHighestConfidence
(String entityOne, String entityTwo, double confidence) Adds the correspondence if not existent.Alignment.getCorrespondence
(String source, String target, CorrespondenceRelation relation) Returns the specified correspondence (source, target, relation).Correspondence.reverse()
This method returns a NEW correspondence with a reversed relation.Correspondence.reverseWithoutRelationChange()
This method returns a NEW correspondence where the source and target are reversed but not the relation.Modifier and TypeMethodDescriptionstatic Comparator<Correspondence>
Correspondence.comparingByConfidence()
static List<Correspondence>
Alignment.createOrder
(Alignment alignment) Creates a deterministic order of correspondences.static List<Correspondence>
Alignment.createOrder
(List<Correspondence> alignment) Creates a deterministic order of correspondences.Alignment.getConfidenceOrderedMapping()
Alignment.getCorrespondencesRelation
(CorrespondenceRelation relation) Obtain an iterator for all correspondences where the given relation are involved.Alignment.getCorrespondencesSource
(String source) Obtain an iterator for all correspondences where the given source is involved.Alignment.getCorrespondencesSourceRelation
(String source, CorrespondenceRelation relation) Obtain an iterator for all correspondences where the given source and the given relation are involved.Alignment.getCorrespondencesSourceTarget
(String source, String target) Returns correspondences involving the specified source AND target.Alignment.getCorrespondencesTarget
(String target) Alignment.getCorrespondencesTargetRelation
(String target, CorrespondenceRelation relation) Obtain an iterator for all correspondences where the given target and the given relation are involved.Modifier and TypeMethodDescriptionAlignment.addOrModify
(Correspondence correspondence) Adds the correspondence if not existent or adds the extensions values and updates confidence value.Alignment.addOrUseHighestConfidence
(Correspondence c) Adds the correspondence if not existing.int
CorrespondenceConfidenceComparator.compare
(Correspondence one, Correspondence two) int
Correspondence.compareTo
(Correspondence that) private static String
AlignmentSerializer.getXmlMappingCellMultiLine
(Correspondence cell) Modifier and TypeMethodDescriptionstatic List<Correspondence>
Alignment.createOrder
(List<Correspondence> alignment) Creates a deterministic order of correspondences.ModifierConstructorDescriptionCorrespondence
(Correspondence other) Copy constructor for correspondences.