public class HierarchicalMatchingsCounter<T extends org.aksw.gerbil.transfer.nif.TypedMarking> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<List<int[]>> |
counts |
protected SubClassInferencer |
inferencer |
protected MatchingsSearcher<T> |
matchingsSearcher
This matchings counter needs a
MatchingsSearcher that can create
pairs of named entities for which the types should be matched to each
other. |
| Constructor and Description |
|---|
HierarchicalMatchingsCounter(MatchingsSearcher<T> matchingsSearcher,
UriKBClassifier uriKBClassifier,
SubClassInferencer inferencer) |
| Modifier and Type | Method and Description |
|---|---|
List<EvaluationCounts> |
countMatchings(List<T> annotatorResult,
List<T> goldStandard) |
static int |
getIntersectionSize(Set<String> set1,
Set<String> set2) |
protected MatchingsSearcher<T extends org.aksw.gerbil.transfer.nif.TypedMarking> matchingsSearcher
MatchingsSearcher that can create
pairs of named entities for which the types should be matched to each
other.protected SubClassInferencer inferencer
public HierarchicalMatchingsCounter(MatchingsSearcher<T> matchingsSearcher, UriKBClassifier uriKBClassifier, SubClassInferencer inferencer)
Copyright © 2014–2017. All rights reserved.