Class Coverage
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.external.statistics.Coverage
This class allows to analyze the concept coverage given a data source.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull CoverageResult
getCoverageFullLabel
(LabelToConceptLinker linker, Set<String> entities) Calculate the coverage given a linker and a set of concepts that are to be linked.static @NotNull CoverageResult
getCoveragePartialLabel
(LabelToConceptLinker linker, Set<String> entities) Calculate the partial coverage - that is also allow for matching only concept parts (sub-strings).
-
Constructor Details
-
Coverage
public Coverage()
-
-
Method Details
-
getCoveragePartialLabel
@NotNull public static @NotNull CoverageResult getCoveragePartialLabel(LabelToConceptLinker linker, Set<String> entities) Calculate the partial coverage - that is also allow for matching only concept parts (sub-strings).- Parameters:
linker
- Linker to be used.entities
- Entities to be matched.- Returns:
- A coverage result instance.
-
getCoverageFullLabel
@NotNull public static @NotNull CoverageResult getCoverageFullLabel(LabelToConceptLinker linker, Set<String> entities) Calculate the coverage given a linker and a set of concepts that are to be linked.- Parameters:
linker
- The linker to be used.entities
- The entities to be looked up.- Returns:
- A coverage result instance.
-