public static class LabGroupAnnotator.NumberModel extends UIMAAnnotationCompositionUtil.UIMASemanticProbabilityModel<de.unibi.techfak.isy.lppba.descriptors.Integer>
Constructor and Description |
---|
LabGroupAnnotator.NumberModel() |
Modifier and Type | Method and Description |
---|---|
double |
calculateSemanticProbability(de.unibi.techfak.isy.lppba.descriptors.Integer candidate)
This should calculate the semantic probabilty of an AnnotationCandidate belonging to
another
If additional information is required to derive this value set those parameters in some
other way (e.g. the given AnnotationCandidate implementation).
|
protected void |
setCurrentAge(de.unibi.techfak.isy.lppba.descriptors.Age currentAge) |
protected void |
setCurrentWeight(de.unibi.techfak.isy.lppba.descriptors.Weight currentWeight) |
calculateSemanticProbability
protected void setCurrentWeight(de.unibi.techfak.isy.lppba.descriptors.Weight currentWeight)
protected void setCurrentAge(de.unibi.techfak.isy.lppba.descriptors.Age currentAge)
public double calculateSemanticProbability(de.unibi.techfak.isy.lppba.descriptors.Integer candidate)
UIMAAnnotationCompositionUtil.UIMASemanticProbabilityModel
calculateSemanticProbability
in class UIMAAnnotationCompositionUtil.UIMASemanticProbabilityModel<de.unibi.techfak.isy.lppba.descriptors.Integer>
candidate
- an AnnotationCandidate of Type X.Copyright (C) 2013, 2014 Raphael Dickfelder, Jan Göpfert, Benjamin Paassen, Andreas Stöckel, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/scie