Class DictionaryLookupItem

java.lang.Object
com.azure.ai.translation.text.models.DictionaryLookupItem

public final class DictionaryLookupItem extends Object
Dictionary Lookup Element.
  • Method Details

    • getNormalizedSource

      public String 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

      public String 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

      public List<DictionaryTranslation> getTranslations()
      Get the translations property: A list of translations for the source term.
      Returns:
      the translations value.