Class SourceDictionaryLanguage

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

public final class SourceDictionaryLanguage extends Object
Properties ot the source dictionary language.
  • Method Details

    • getName

      public String getName()
      Get the name property: Display name of the language in the locale requested via Accept-Language header.
      Returns:
      the name value.
    • getNativeName

      public String getNativeName()
      Get the nativeName property: Display name of the language in the locale native for this language.
      Returns:
      the nativeName value.
    • getDir

      public String getDir()
      Get the dir property: Directionality, which is rtl for right-to-left languages or ltr for left-to-right languages.
      Returns:
      the dir value.
    • getTranslations

      public List<TargetDictionaryLanguage> getTranslations()
      Get the translations property: List of languages with alterative translations and examples for the query expressed in the source language.
      Returns:
      the translations value.