@azure-rest/ai-document-translator 1.0.0-alpha.20241212.1 → 1.0.0-alpha.20241217.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -17
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
# Azure Document Translator Rest-Level client library for JavaScript
|
|
2
2
|
|
|
3
|
-
[Azure Document Translator](https://
|
|
3
|
+
[Azure Document Translator](https://learn.microsoft.com/azure/cognitive-services/translator/document-translation/overview) is a cloud-based feature of the Azure Translator service and is part of the Azure Cognitive Service family of REST APIs. The Document Translation API translates documents to and from 90 languages and dialects while preserving document structure and data format.
|
|
4
4
|
|
|
5
5
|
**Note:** This Rest Level Library targets Azure Document Translator service API version v1.0-preview.1.
|
|
6
6
|
|
|
7
7
|
Use the client library to:
|
|
8
8
|
|
|
9
|
-
| Feature | Description
|
|
10
|
-
| --------------------------------- |
|
|
11
|
-
| Translate large files | Translate whole documents asynchronously.
|
|
12
|
-
| Translate numerous files | Translate multiple files to and from 90 languages and dialects.
|
|
13
|
-
| Preserve source file presentation | Translate files while preserving the original layout and format.
|
|
14
|
-
| Apply custom translation | Translate documents using general and [custom translation](https://
|
|
15
|
-
| Apply custom glossaries | Translate documents using custom glossaries.
|
|
9
|
+
| Feature | Description |
|
|
10
|
+
| --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
11
|
+
| Translate large files | Translate whole documents asynchronously. |
|
|
12
|
+
| Translate numerous files | Translate multiple files to and from 90 languages and dialects. |
|
|
13
|
+
| Preserve source file presentation | Translate files while preserving the original layout and format. |
|
|
14
|
+
| Apply custom translation | Translate documents using general and [custom translation](https://learn.microsoft.com/azure/cognitive-services/translator/customization#custom-translator) models. |
|
|
15
|
+
| Apply custom glossaries | Translate documents using custom glossaries. |
|
|
16
16
|
|
|
17
17
|
[Source code](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/documenttranslator/ai-document-translator-rest/) |
|
|
18
18
|
[Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-document-translator) |
|
|
19
|
-
[API reference documentation](https://
|
|
20
|
-
[Product documentation](https://
|
|
19
|
+
[API reference documentation](https://learn.microsoft.com/azure/cognitive-services/translator/document-translation/overview) |
|
|
20
|
+
[Product documentation](https://learn.microsoft.com/azure/cognitive-services/translator/document-translation/overview) |
|
|
21
21
|
[Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/documenttranslator/ai-document-translator-rest/samples)
|
|
22
22
|
|
|
23
23
|
## Getting started
|
|
@@ -219,18 +219,18 @@ If you'd like to contribute to this library, please read the [contributing guide
|
|
|
219
219
|
|
|
220
220
|

|
|
221
221
|
|
|
222
|
-
[azure_cli]: https://
|
|
222
|
+
[azure_cli]: https://learn.microsoft.com/cli/azure
|
|
223
223
|
[azure_sub]: https://azure.microsoft.com/free/
|
|
224
224
|
[translator_resource]: https://ms.portal.azure.com/#create/Microsoft.CognitiveServicesTextTranslation
|
|
225
225
|
[azure_portal]: https://portal.azure.com
|
|
226
226
|
[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity
|
|
227
|
-
[cognitive_auth]: https://
|
|
228
|
-
[register_aad_app]: https://
|
|
227
|
+
[cognitive_auth]: https://learn.microsoft.com/azure/cognitive-services/authentication
|
|
228
|
+
[register_aad_app]: https://learn.microsoft.com/azure/cognitive-services/authentication#assign-a-role-to-a-service-principal
|
|
229
229
|
[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential
|
|
230
|
-
[azure_cli_create_dt_resource]: https://
|
|
230
|
+
[azure_cli_create_dt_resource]: https://learn.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account-cli?tabs=windows
|
|
231
231
|
[azure_portal_get_endpoint]: https://learn.microsoft.com/azure/ai-services/translator/document-translation/quickstarts/document-translation-rest-api?pivots=programming-language-javascript#retrieve-your-key-and-document-translation-endpoint
|
|
232
232
|
[source_containers]: https://learn.microsoft.com/azure/ai-services/translator/document-translation/quickstarts/document-translation-rest-api?pivots=programming-language-javascript#create-azure-blob-storage-containers
|
|
233
|
-
[glossary]: https://
|
|
234
|
-
[custom_model]: https://
|
|
233
|
+
[glossary]: https://learn.microsoft.com/azure/cognitive-services/translator/document-translation/overview#supported-glossary-formats
|
|
234
|
+
[custom_model]: https://learn.microsoft.com/azure/cognitive-services/translator/custom-translator/quickstart-build-deploy-custom-model
|
|
235
235
|
[sas_token]: https://learn.microsoft.com/azure/ai-services/translator/document-translation/how-to-guides/create-sas-tokens?tabs=Containers
|
|
236
|
-
[supported_languages]: https://
|
|
236
|
+
[supported_languages]: https://learn.microsoft.com/azure/cognitive-services/translator/language-support#translate
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"sdk-type": "client",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "An isomorphic rest level client library for the Azure Document Translator service.",
|
|
6
|
-
"version": "1.0.0-alpha.
|
|
6
|
+
"version": "1.0.0-alpha.20241217.1",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"node",
|
|
9
9
|
"azure",
|