Class DictionaryExample

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

public final class DictionaryExample extends Object
Dictionary Example.
  • Method Details

    • getSourcePrefix

      public String getSourcePrefix()
      Get the sourcePrefix property: The string to concatenate before the value of sourceTerm to form a complete example. Do not add a space character, since it is already there when it should be. This value may be an empty string.
      Returns:
      the sourcePrefix value.
    • getSourceTerm

      public String getSourceTerm()
      Get the sourceTerm property: A string equal to the actual term looked up. The string is added with sourcePrefix and sourceSuffix to form the complete example. Its value is separated so it can be marked in a user interface, e.g., by bolding it.
      Returns:
      the sourceTerm value.
    • getSourceSuffix

      public String getSourceSuffix()
      Get the sourceSuffix property: The string to concatenate after the value of sourceTerm to form a complete example. Do not add a space character, since it is already there when it should be. This value may be an empty string.
      Returns:
      the sourceSuffix value.
    • getTargetPrefix

      public String getTargetPrefix()
      Get the targetPrefix property: A string similar to sourcePrefix but for the target.
      Returns:
      the targetPrefix value.
    • getTargetTerm

      public String getTargetTerm()
      Get the targetTerm property: A string similar to sourceTerm but for the target.
      Returns:
      the targetTerm value.
    • getTargetSuffix

      public String getTargetSuffix()
      Get the targetSuffix property: A string similar to sourceSuffix but for the target.
      Returns:
      the targetSuffix value.