BackTranslationOutput interface
Back Translation
Properties
display |
A string giving the source term that is a back-translation of the target in a form best suited for end-user display. |
frequency |
An integer representing the frequency of this translation pair in the data. The main purpose of this field is to provide a user interface with a means to sort back-translations so the most frequent terms are first. |
normalized |
A string giving the normalized form of the source term that is a back-translation of the target. This value should be used as input to lookup examples. |
num |
An integer representing the number of examples that are available for this translation pair. Actual examples must be retrieved with a separate call to lookup examples. The number is mostly intended to facilitate display in a UX. For example, a user interface may add a hyperlink to the back-translation if the number of examples is greater than zero and show the back-translation as plain text if there are no examples. Note that the actual number of examples returned by a call to lookup examples may be less than numExamples, because additional filtering may be applied on the fly to remove "bad" examples. |
Property Details
displayText
A string giving the source term that is a back-translation of the target in a form best suited for end-user display.
displayText: string
Property Value
string
frequencyCount
An integer representing the frequency of this translation pair in the data. The main purpose of this field is to provide a user interface with a means to sort back-translations so the most frequent terms are first.
frequencyCount: number
Property Value
number
normalizedText
A string giving the normalized form of the source term that is a back-translation of the target. This value should be used as input to lookup examples.
normalizedText: string
Property Value
string
numExamples
An integer representing the number of examples that are available for this translation pair. Actual examples must be retrieved with a separate call to lookup examples. The number is mostly intended to facilitate display in a UX. For example, a user interface may add a hyperlink to the back-translation if the number of examples is greater than zero and show the back-translation as plain text if there are no examples. Note that the actual number of examples returned by a call to lookup examples may be less than numExamples, because additional filtering may be applied on the fly to remove "bad" examples.
numExamples: number
Property Value
number