Class MTConfidence

    • Constructor Detail

      • MTConfidence

        public MTConfidence()
        Creates a new MTConfidence object without initial data.
      • MTConfidence

        public MTConfidence​(String annotatorRef,
                            double mtConfidence)
        Creates a new MTConfidence object with a given annotator reference and confidence score.
        Parameters:
        annotatorRef - the annotator reference.
        mtConfidence - the confidence score.
    • Method Detail

      • getDataCategoryName

        public String getDataCategoryName()
        Description copied from interface: IITSItem
        Gets the id/name of this data category.
        Returns:
        the id/name of this data category.
      • validate

        public void validate()
        Description copied from interface: IITSItem
        Validates the data category. Checks if all required attributes are set properly.
      • getMtConfidence

        public Double getMtConfidence()
      • setMtConfidence

        public void setMtConfidence​(Double mtConfidence)
      • createCopy

        public IITSItem createCopy()
        Description copied from interface: IITSItem
        Creates a deep-copy clone of this item.
        Returns:
        the duplicated item.