Class BackgroundMatcherTools
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.external.matcher.BackgroundMatcherTools
A tools class containing static functionality for string-based matching.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetURIlabelMap
(org.apache.jena.util.iterator.ExtendedIterator<? extends org.apache.jena.ontology.OntResource> iterator, TextExtractor valueExtractor) Creates a map of the formURI -> set<labels>
.
-
Constructor Details
-
BackgroundMatcherTools
public BackgroundMatcherTools()
-
-
Method Details
-
getURIlabelMap
public static Map<String,Set<String>> getURIlabelMap(org.apache.jena.util.iterator.ExtendedIterator<? extends org.apache.jena.ontology.OntResource> iterator, TextExtractor valueExtractor) Creates a map of the formURI -> set<labels>
.- Parameters:
iterator
- Iterator for ont resources.valueExtractor
- The value extractor that is to be used to obtain Strings from resources.- Returns:
- URI label map
-