Mercurial > hg > anteater
comparison src/de/mpiwg/anteater/results/IResult.java @ 0:036535fcd179
anteater
author | jdamerow |
---|---|
date | Fri, 14 Sep 2012 10:30:43 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:036535fcd179 |
---|---|
1 package de.mpiwg.anteater.results; | |
2 | |
3 import de.mpiwg.anteater.core.Finding; | |
4 import de.mpiwg.anteater.core.TextExtraction; | |
5 import de.mpiwg.anteater.text.TextInformation; | |
6 | |
7 public interface IResult<E extends TextExtraction, F extends Finding> { | |
8 | |
9 public abstract void setResult(E result); | |
10 | |
11 public abstract E getResult(); | |
12 | |
13 public abstract void setFinding(F person); | |
14 | |
15 public abstract F getFinding(); | |
16 | |
17 public abstract void setPrediction(double prediction); | |
18 | |
19 public abstract double getPrediction(); | |
20 | |
21 public abstract void setTextInfo(TextInformation textInfo); | |
22 | |
23 public abstract TextInformation getTextInfo(); | |
24 | |
25 } |