Class BabelSenseTranslationInfo


  • @Deprecated
    public class BabelSenseTranslationInfo
    extends Object
    Deprecated.
    For removal.
    A class modeling translation-related information pertaining to a BabelSense.
    Author:
    ponzetto
    • Constructor Detail

      • BabelSenseTranslationInfo

        public BabelSenseTranslationInfo​(double confidence,
                                         int numberOfTranslations,
                                         int sampleSize)
        Deprecated.
        Creates a new instance of BabelSenseTranslationInfo
        Parameters:
        confidence - translation confidence
        numberOfTranslations - number of translations
        sampleSize - size of the sample
    • Method Detail

      • getConfidence

        public double getConfidence()
        Deprecated.
        Gets a confidence score for a translation.
        Returns:
        the confidence score for a translation.
      • getNumberOfTranslations

        public int getNumberOfTranslations()
        Deprecated.
        Gets the number of times a source sense was translated as a target sense.
        Returns:
        how many times a source sense was translated as a target sense.
      • getSampleSize

        public int getSampleSize()
        Deprecated.
        Gets the size of the sample for translating - the number of sense-annotated examples for the source sense
        Returns:
        the number of sense-annotated examples for the source sense