Class DictionaryExample
java.lang.Object
com.azure.ai.translation.text.models.DictionaryExample
Dictionary Example.
-
Method Summary
Modifier and TypeMethodDescriptionGet the sourcePrefix property: The string to concatenate before the value of sourceTerm to form a complete example.Get the sourceSuffix property: The string to concatenate after the value of sourceTerm to form a complete example.Get the sourceTerm property: A string equal to the actual term looked up.Get the targetPrefix property: A string similar to sourcePrefix but for the target.Get the targetSuffix property: A string similar to sourceSuffix but for the target.Get the targetTerm property: A string similar to sourceTerm but for the target.
-
Method Details
-
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
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
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
Get the targetPrefix property: A string similar to sourcePrefix but for the target.- Returns:
- the targetPrefix value.
-
getTargetTerm
Get the targetTerm property: A string similar to sourceTerm but for the target.- Returns:
- the targetTerm value.
-
getTargetSuffix
Get the targetSuffix property: A string similar to sourceSuffix but for the target.- Returns:
- the targetSuffix value.
-