Class DictionaryLookupItem
java.lang.Object
com.azure.ai.translation.text.models.DictionaryLookupItem
Dictionary Lookup Element.
-
Method Summary
Modifier and TypeMethodDescriptionGet the displaySource property: A string giving the source term in a form best suited for end-user display.Get the normalizedSource property: A string giving the normalized form of the source term.Get the translations property: A list of translations for the source term.
-
Method Details
-
getNormalizedSource
Get the normalizedSource property: A string giving the normalized form of the source term. For example, if the request is "JOHN", the normalized form will be "john". The content of this field becomes the input to lookup examples.- Returns:
- the normalizedSource value.
-
getDisplaySource
Get the displaySource property: A string giving the source term in a form best suited for end-user display. For example, if the input is "JOHN", the display form will reflect the usual spelling of the name: "John".- Returns:
- the displaySource value.
-
getTranslations
Get the translations property: A list of translations for the source term.- Returns:
- the translations value.
-