public class MTConfidence extends DataCategory
| Constructor and Description |
|---|
MTConfidence()
Creates a new
MTConfidence object without initial data. |
MTConfidence(java.lang.String annotatorRef,
double mtConfidence)
Creates a new
MTConfidence object with a given annotator reference and confidence score. |
| Modifier and Type | Method and Description |
|---|---|
IITSItem |
createCopy()
Creates a deep-copy clone of this item.
|
java.lang.String |
getDataCategoryName()
Gets the id/name of this data category.
|
java.lang.Double |
getMtConfidence() |
void |
setMtConfidence(java.lang.Double mtConfidence) |
void |
validate()
Validates the data category.
|
getAnnotatorRef, hasUnresolvedGroup, isGroup, setAnnotatorRef, setAnnotatorRefpublic MTConfidence()
MTConfidence object without initial data.public MTConfidence(java.lang.String annotatorRef,
double mtConfidence)
MTConfidence object with a given annotator reference and confidence score.annotatorRef - the annotator reference.mtConfidence - the confidence score.public java.lang.String getDataCategoryName()
IITSItempublic void validate()
IITSItempublic java.lang.Double getMtConfidence()
public void setMtConfidence(java.lang.Double mtConfidence)