@Deprecated public class BabelSenseTranslationInfo extends Object
BabelSense.| Constructor and Description |
|---|
BabelSenseTranslationInfo(double confidence,
int numberOfTranslations,
int sampleSize)
Deprecated.
Creates a new instance of
BabelSenseTranslationInfo |
| Modifier and Type | Method and Description |
|---|---|
static BabelSenseTranslationInfo |
fromString(String s)
Deprecated.
Creates a new instance of a
BabelSenseTranslationInfo 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 sense
|
String |
toString()
Deprecated.
|
public BabelSenseTranslationInfo(double confidence,
int numberOfTranslations,
int sampleSize)
BabelSenseTranslationInfoconfidence - translation confidencenumberOfTranslations - number of translationssampleSize - size of the samplepublic double getConfidence()
public int getNumberOfTranslations()
public int getSampleSize()
public static BabelSenseTranslationInfo fromString(String s)
BabelSenseTranslationInfo from an
input String.s - the translation string informationBabelSenseTranslationInfo from the
given string.Copyright © 2016–2022. All rights reserved.