T - public class SpanMergingEvaluatorDecorator<T extends org.aksw.gerbil.transfer.nif.Span> extends AbstractEvaluatorDecorator<T> implements Comparator<org.aksw.gerbil.transfer.nif.Span>
Span instances if one is completely enclosed by the other.evaluator| Constructor and Description |
|---|
SpanMergingEvaluatorDecorator(Evaluator<T> evaluator) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(org.aksw.gerbil.transfer.nif.Span a1,
org.aksw.gerbil.transfer.nif.Span a2)
Sorts the spans ascending by their length.
|
void |
evaluate(List<List<T>> annotatorResults,
List<List<T>> goldStandard,
EvaluationResultContainer results) |
protected List<T> |
merge(List<T> spans) |
protected List<List<T>> |
mergeListOfLists(List<List<T>> spans) |
getDecoratedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic void evaluate(List<List<T>> annotatorResults, List<List<T>> goldStandard, EvaluationResultContainer results)
public int compare(org.aksw.gerbil.transfer.nif.Span a1,
org.aksw.gerbil.transfer.nif.Span a2)
compare in interface Comparator<org.aksw.gerbil.transfer.nif.Span>Copyright © 2014–2017. All rights reserved.