Skip to content

Commit 2625a87

Browse files
author
Jiarui Guo
committed
update docs
1 parent 76e2210 commit 2625a87

File tree

2 files changed

+8
-14
lines changed

2 files changed

+8
-14
lines changed

sdk/translation/azure-ai-translation-text/README.md

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
# Azure Text Translation client library for Java
22

3-
Text translation is a cloud-based REST API feature of the Translator service that uses neural machine translation technology to enable quick and accurate source-to-target text translation in real time across all supported languages.
3+
Azure text translation is a cloud-based REST API provided by the Azure Translator service. It utilizes neural machine translation technology to deliver precise, contextually relevant, and semantically accurate real-time text translations across all supported languages.
44

55
Use the Text Translation client library for Java to:
66

7-
* Return a list of languages supported by Translate, Transliterate, and Dictionary operations.
7+
- Retrieve the list of languages supported for translation and transliteration operations, as well as LLM models available for translations.
88

9-
* Render single source-language text to multiple target-language texts with a single request.
9+
- Perform deterministic text translation from a specified source language to a target language, with configurable parameters to ensure precision and maintain contextual integrity.
1010

11-
* Convert text of a source language in letters of a different script.
11+
- Execute transliteration by converting text from the original script to an alternative script representation.
1212

13-
* Return equivalent words for the source term in the target language.
14-
15-
* Return grammatical structure and context examples for the source term and target term pair.
13+
- Use LLM models to produce translation output variants that are tone-specific and gender-aware.
1614

1715
## Documentation
1816

@@ -174,19 +172,14 @@ Samples are provided for each main functional area, and for each area, samples a
174172
* [Translation to multiple languages][sample_translatetargets]
175173
* [Translation of multiple sources][sample_translatesources]
176174
* [Translation and Transliteration][sample_translatetransliteration]
175+
* [Translation using LLM][sample_translatellm]
177176
* [Using Custom Translation Model][sample_translatecustom]
178-
* [Translation with Custom Dictionary][sample_translatedictionary]
179177
* [Translation with NoTranslate tag][sample_translatenotranslate]
180-
* [Translation with Alignments][sample_translatealignments]
181-
* [Translation with Sentence Boundaries][sample_translatesentencelength]
182178
* [Handling translation of HTML text][sample_translatetexttypes]
183179
* [Transliteration][sample_transliterate]
184180
* [Get Languages][sample_getlanguages]
185181
* [Get Localized Languages][sample_getlanguagesaccept]
186182
* [Get Scoped Languages][sample_getlanguagesscope]
187-
* [Find Sentence Boundaries][sample_breaksentence]
188-
* [Lookup Dictionary Examples][sample_dictionaryexamples]
189-
* [Lookup Dictionary Entries][sample_dictionarylookup]
190183

191184
## Contributing
192185

@@ -219,6 +212,7 @@ For details on contributing to this repository, see the [contributing guide](htt
219212
[sample_getlanguagesaccept]: https://github.com/azure/azure-sdk-for-java/blob/main/sdk/translation/azure-ai-translation-text/src/samples/java/com/azure/ai/translation/text/GetLanguagesAcceptLanguage.java
220213
[sample_getlanguagesscope]: https://github.com/azure/azure-sdk-for-java/blob/main/sdk/translation/azure-ai-translation-text/src/samples/java/com/azure/ai/translation/text/GetLanguagesScope.java
221214
[sample_translate]: https://github.com/azure/azure-sdk-for-java/blob/main/sdk/translation/azure-ai-translation-text/src/samples/java/com/azure/ai/translation/text/Translate.java
215+
[sample_translatellm]: https://github.com/azure/azure-sdk-for-java/blob/main/sdk/translation/azure-ai-translation-text/src/samples/java/com/azure/ai/translation/text/TranslateLlm.java
222216
[sample_translatecustom]: https://github.com/azure/azure-sdk-for-java/blob/main/sdk/translation/azure-ai-translation-text/src/samples/java/com/azure/ai/translation/text/TranslateCustom.java
223217
[sample_translatedetection]: https://github.com/azure/azure-sdk-for-java/blob/main/sdk/translation/azure-ai-translation-text/src/samples/java/com/azure/ai/translation/text/TranslateDetection.java
224218
[sample_translatesources]: https://github.com/azure/azure-sdk-for-java/blob/main/sdk/translation/azure-ai-translation-text/src/samples/java/com/azure/ai/translation/text/TranslateMultipleSources.java

sdk/translation/azure-ai-translation-text/src/samples/java/com/azure/ai/translation/text/TranslateProfanity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import com.azure.core.credential.AzureKeyCredential;
1515

1616
/**
17-
* Profanity handling: https://learn.microsoft.com/en-us/azure/cognitive-services/translator/reference/v3-0-translate#handle-profanity
17+
* Profanity handling:
1818
*
1919
* Normally the Translator service will retain profanity that is present in the source in the translation.
2020
* The degree of profanity and the context that makes words profane differ between cultures, and as a result

0 commit comments

Comments
 (0)