0
|
1 package de.mpiwg.anteater.results;
|
|
2
|
|
3 import de.mpiwg.anteater.places.Place;
|
|
4 import de.mpiwg.anteater.places.PlaceInformation;
|
|
5 import de.mpiwg.anteater.places.PlacesExtraction;
|
|
6 import de.mpiwg.anteater.text.TextInformation;
|
|
7
|
|
8 public class LocationResult implements
|
|
9 IResult<PlacesExtraction, PlaceInformation> {
|
|
10
|
|
11 private PlacesExtraction result;
|
|
12 private PlaceInformation finding;
|
|
13 private double prediction;
|
|
14 private TextInformation textInfo;
|
|
15 private Place place;
|
|
16
|
|
17 public PlacesExtraction getResult() {
|
|
18 return result;
|
|
19 }
|
|
20 public void setResult(PlacesExtraction result) {
|
|
21 this.result = result;
|
|
22 }
|
|
23 public PlaceInformation getFinding() {
|
|
24 return finding;
|
|
25 }
|
|
26 public void setFinding(PlaceInformation finding) {
|
|
27 this.finding = finding;
|
|
28 }
|
|
29 public double getPrediction() {
|
|
30 return prediction;
|
|
31 }
|
|
32 public void setPrediction(double prediction) {
|
|
33 this.prediction = prediction;
|
|
34 }
|
|
35 public TextInformation getTextInfo() {
|
|
36 return textInfo;
|
|
37 }
|
|
38 public void setTextInfo(TextInformation textInfo) {
|
|
39 this.textInfo = textInfo;
|
|
40 }
|
|
41 public Place getPlace() {
|
|
42 return place;
|
|
43 }
|
|
44 public void setPlace(Place place) {
|
|
45 this.place = place;
|
|
46 }
|
|
47
|
|
48
|
|
49 }
|