Package it.uniroma1.lcl.babelnet.data
Class BabelSenseTranslationInfo
- java.lang.Object
-
- it.uniroma1.lcl.babelnet.data.BabelSenseTranslationInfo
-
@Deprecated public class BabelSenseTranslationInfo extends Object
Deprecated.For removal.A class modeling translation-related information pertaining to aBabelSense
.- Author:
- ponzetto
-
-
Constructor Summary
Constructors Constructor Description BabelSenseTranslationInfo(double confidence, int numberOfTranslations, int sampleSize)
Deprecated.Creates a new instance ofBabelSenseTranslationInfo
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static BabelSenseTranslationInfo
fromString(String s)
Deprecated.Creates a new instance of aBabelSenseTranslationInfo
from an input String.double
getConfidence()
Deprecated.Gets a confidence score for a translation.int
getNumberOfTranslations()
Deprecated.Gets the number of times a source sense was translated as a target sense.int
getSampleSize()
Deprecated.Gets the size of the sample for translating - the number of sense-annotated examples for the source senseString
toString()
Deprecated.
-
-
-
Constructor Detail
-
BabelSenseTranslationInfo
public BabelSenseTranslationInfo(double confidence, int numberOfTranslations, int sampleSize)
Deprecated.Creates a new instance ofBabelSenseTranslationInfo
- Parameters:
confidence
- translation confidencenumberOfTranslations
- number of translationssampleSize
- 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
-
fromString
public static BabelSenseTranslationInfo fromString(String s)
Deprecated.Creates a new instance of aBabelSenseTranslationInfo
from an input String.- Parameters:
s
- the translation string information- Returns:
- a new instance of a
BabelSenseTranslationInfo
from the given string.
-
-