You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cognitive-services/Translator/document-translation/how-to-guides/use-rest-api-programmatically.md
@@ -112,6 +112,8 @@ The `sourceUrl` , `targetUrl` , and optional `glossaryUrl` must include a Share
112
112
113
113
A batch Document Translation request is submitted to your Translator service endpoint via a POST request. If successful, the POST method returns a `202 Accepted` response code and the service creates a batch request. The translated documents are listed in your target container.
114
114
115
+
For detailed information regarding Azure Translator Service request limits, _see_[**Document Translation request limits**](../../request-limits.md#document-translation).
116
+
115
117
### HTTP headers
116
118
117
119
The following headers are included with each Document Translation API request:
Copy file name to clipboardExpand all lines: articles/cognitive-services/Translator/document-translation/overview.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ ms.service: cognitive-services
8
8
ms.subservice: translator-text
9
9
ms.custom: event-tier1-build-2022
10
10
ms.topic: overview
11
-
ms.date: 03/24/2023
11
+
ms.date: 04/17/2023
12
12
ms.author: lajanuar
13
13
recommendations: false
14
14
---
@@ -30,7 +30,7 @@ Document Translation is a cloud-based feature of the [Azure Translator](../trans
30
30
31
31
> [!NOTE]
32
32
> When translating documents with content in multiple languages, the feature is intended for complete sentences in a single language. If sentences are composed of more than one language, the content may not all translate into the target language.
33
-
> For more information on input requirements, *see*[content limits](get-started-with-document-translation.md#content-limits)
33
+
> For more information on input requirements, *see*[Document Transaltion request limits](../request-limits.md#document-translation)
34
34
35
35
## Document Translation development options
36
36
@@ -70,6 +70,10 @@ Document Translation supports the following document file types:
70
70
|Tab Separated Values/TAB|`tsv`/`tab`| A tab-delimited raw-data file used by spreadsheet programs.|
71
71
|Text|`txt`| An unformatted text document.|
72
72
73
+
## Request limits
74
+
75
+
For detailed information regarding Azure Translator Service request limits, *see*[**Document Translation request limits**](../request-limits.md#document-translation).
76
+
73
77
### Legacy file types
74
78
75
79
Source file types are preserved during the document translation with the following **exceptions**:
Copy file name to clipboardExpand all lines: articles/cognitive-services/Translator/document-translation/quickstarts/get-started-with-rest-api.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,6 +112,8 @@ For this project, you need a **source document** uploaded to your **source conta
112
112
113
113
A batch Document Translation request is submitted to your Translator service endpoint via a POST request. If successful, the POST method returns a `202 Accepted` response code and the service creates a batch request. The translated documents are listed in your target container.
114
114
115
+
For detailed information regarding Azure Translator Service request limits, *see*[**Document Translation request limits**](../../request-limits.md#document-translation).
116
+
115
117
### Headers
116
118
117
119
The following headers are included with each Document Translation API request:
Copy file name to clipboardExpand all lines: articles/cognitive-services/Translator/quickstart-translator.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,6 +69,8 @@ Header|Value| Condition |
69
69
70
70
The core operation of the Translator service is translating text. In this quickstart, you build a request using a programming language of your choice that takes a single source (`from`) and provides two outputs (`to`). Then we review some parameters that can be used to adjust both the request and the response.
71
71
72
+
For detailed information regarding Azure Translator Service request limits, *see*[**Text translation request limits**](request-limits.md#text-translation).
Copy file name to clipboardExpand all lines: articles/cognitive-services/Translator/request-limits.md
+36-17Lines changed: 36 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,37 +1,41 @@
1
1
---
2
-
title: Request limits - Translator
2
+
title: Request limits - Translator Service
3
3
titleSuffix: Azure Cognitive Services
4
-
description: This article lists request limits for the Translator. Charges are incurred based on character count, not request frequency with a limit of 50,000 characters per request. Character limits are subscription-based, with F0 limited to 2 million characters per hour.
4
+
description: This article lists request limits for the Translator text and document translation. Charges are incurred based on character count, not request frequency with a limit of 50,000 characters per request. Character limits are subscription-based, with F0 limited to 2 million characters per hour.
5
5
services: cognitive-services
6
6
author: laujan
7
7
manager: nitinme
8
8
ms.service: cognitive-services
9
9
ms.subservice: translator-text
10
10
ms.topic: conceptual
11
-
ms.date: 08/17/2022
11
+
ms.date: 04/17/2023
12
12
ms.author: lajanuar
13
13
---
14
14
15
-
# Request limits for Translator
15
+
# Request limits for Azure Translator Service
16
16
17
-
This article provides throttling limits for the Translator translation, transliteration, sentence length detection, language detection, and alternate translations.
17
+
This article provides both a quick reference and detailed description of Azure Translator Service character and array limits for text and document translation.
18
18
19
-
## Character and array limits per request
19
+
## Text translation
20
20
21
-
Each translate request is limited to 50,000 characters, across all the target languages you're translating to. For example, sending a translate request of 3,000 characters to translate to three different languages results in a request size of 3000x3 = 9,000 characters, which satisfy the request limit. You're charged per character, not by the number of requests. It's recommended to send shorter requests.
21
+
Charges are incurred based on character count, not request frequency. Character limits are subscription-based.
22
22
23
-
The following table lists array element and character limits for each operation of the Translator.
23
+
### Character and array limits per request
24
+
25
+
Each translate request is limited to 50,000 characters, across all the target languages. For example, sending a translate request of 3,000 characters to translate to three different languages results in a request size of 3,000 × 3 = 9,000 characters and meets the request limit. You're charged per character, not by the number of requests, therefore, it's recommended that you send shorter requests.
26
+
27
+
The following table lists array element and character limits for each text translation operation.
24
28
25
29
| Operation | Maximum Size of Array Element | Maximum Number of Array Elements | Maximum Request Size (characters) |
26
30
|:----|:----|:----|:----|
27
-
| Translate | 50,000| 1,000| 50,000 |
28
-
| Transliterate | 5,000| 10| 5,000 |
29
-
| Detect | 50,000 |100 |50,000 |
30
-
| BreakSentence | 50,000| 100 |50,000 |
31
-
| Dictionary Lookup| 100 |10| 1,000 |
32
-
| Dictionary Examples | 100 for text and 100 for translation (200 total)| 10|2,000 |
31
+
|**Translate**| 50,000| 1,000| 50,000 |
32
+
|**Transliterate**| 5,000| 10| 5,000 |
33
+
|**Detect**| 50,000 |100 |50,000 |
34
+
|**BreakSentence**| 50,000| 100 |50,000 |
35
+
|**Dictionary Lookup**| 100 |10| 1,000 |
36
+
|**Dictionary Examples**| 100 for text and 100 for translation (200 total)| 10|2,000 |
33
37
34
-
## Character limits per hour
38
+
###Character limits per hour
35
39
36
40
Your character limit per hour is based on your Translator subscription tier.
37
41
@@ -56,9 +60,24 @@ Limits for [multi-service subscriptions](./reference/v3-0-reference.md#authentic
56
60
57
61
These limits are restricted to Microsoft's standard translation models. Custom translation models that use Custom Translator are limited to 3,600 characters per second, per model.
58
62
59
-
## Latency
63
+
### Latency
64
+
65
+
The Translator has a maximum latency of 15 seconds using standard models and 120 seconds when using custom models. Typically, responses *for text within 100 characters* are returned in 150 milliseconds to 300 milliseconds. The custom translator models have similar latency characteristics on sustained request rate and may have a higher latency when your request rate is intermittent. Response times vary based on the size of the request and language pair. If you don't receive a translation or an [error response](./reference/v3-0-reference.md#errors) within that time frame, check your code, your network connection, and retry.
66
+
67
+
## Document Translation
68
+
69
+
This table lists the content limits for data sent using Document Translation:
70
+
71
+
|Attribute | Limit|
72
+
|---|---|
73
+
|Document size| ≤ 40 MB |
74
+
|Total number of files.|≤ 1000 |
75
+
|Total content size in a batch | ≤ 250 MB|
76
+
|Number of target languages in a batch| ≤ 10 |
77
+
|Size of Translation memory file| ≤ 10 MB|
60
78
61
-
The Translator has a maximum latency of 15 seconds using standard models and 120 seconds when using custom models. Typically, responses *for text within 100 characters* are returned in 150 milliseconds to 300 milliseconds. The custom translator models have similar latency characteristics on sustained request rate and may have a higher latency when your request rate is intermittent. Response times will vary based on the size of the request and language pair. If you don't receive a translation or an [error response](./reference/v3-0-reference.md#errors) within that timeframe, check your code, your network connection, and retry.
79
+
> [!NOTE]
80
+
> Document Translation can't be used to translate secured documents such as those with an encrypted password or with restricted access to copy content.
Copy file name to clipboardExpand all lines: articles/cognitive-services/Translator/translator-faq.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,12 +29,14 @@ Translator counts the following input:
29
29
* An individual letter.
30
30
* Punctuation.
31
31
* A space, tab, markup, or any white-space character.
32
-
* A repeated translation, even if you've previously translated the same text. Every character submitted to the translate function is counted even when the content is unchanged or the source and target language are the same.
32
+
* A repeated translation, even if you have previously translated the same text. Every character submitted to the translate function is counted even when the content is unchanged or the source and target language are the same.
33
33
34
34
For scripts based on graphic symbols, such as written Chinese and Japanese Kanji, the Translator service counts the number of Unicode code points. One character per symbol. Exception: Unicode surrogate pairs count as two characters.
35
35
36
36
Calls to the **Detect** and **BreakSentence** methods aren't counted in the character consumption. However, we do expect calls to the Detect and BreakSentence methods to be reasonably proportionate to the use of other counted functions. If the number of Detect or BreakSentence calls exceeds the number of other counted methods by 100 times, Microsoft reserves the right to restrict your use of the Detect and BreakSentence methods.
37
37
38
+
For detailed information regarding Azure Translator Service request limits, *see*[**Text translation request limits**](request-limits.md#text-translation).
39
+
38
40
## Where can I see my monthly usage?
39
41
40
42
The [Azure pricing calculator](https://azure.microsoft.com/pricing/calculator/) can be used to estimate your costs. You can also monitor, view, and add Azure alerts for your Azure services in your user account in the Azure portal:
@@ -45,13 +47,13 @@ The [Azure pricing calculator](https://azure.microsoft.com/pricing/calculator/)
45
47
46
48
:::image type="content" source="media/azure-portal-overview.png" alt-text="Screenshot of the subscription link on overview page in the Azure portal.":::
47
49
48
-
2. In the left rail, make your selection under **Cost Management**:
50
+
1. In the left rail, make your selection under **Cost Management**:
49
51
50
52
:::image type="content" source="media/azure-portal-cost-management.png" alt-text="Screenshot of the cost management resources links in the Azure portal.":::
51
53
52
54
## Is attribution required when using Translator?
53
55
54
-
Attribution isn't required when using Translator for text and speech translation. It is recommended that you inform users that the content they're viewing is machine translated.
56
+
Attribution isn't required when using Translator for text and speech translation. It's recommended that you inform users that the content they're viewing is machine translated.
55
57
56
58
If attribution is present, it must conform to the [Translator attribution guidelines](https://www.microsoft.com/translator/business/attribution/).
Copy file name to clipboardExpand all lines: articles/cognitive-services/Translator/translator-overview.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ ms.author: lajanuar
14
14
15
15
# What is Azure Cognitive Services Translator?
16
16
17
-
Translator Service is a cloud-based neural machine translation service that is part of the [Azure Cognitive Services](../what-are-cognitive-services.md) family of REST APIs and can be used with any operating system. Translator powers many Microsoft products and services used by thousands of businesses worldwide to perform language translation and other language-related operations. In this overview, you'll learn how Translator can enable you to build intelligent, multi-language solutions for your applications across all [supported languages](./language-support.md).
17
+
Translator Service is a cloud-based neural machine translation service that is part of the [Azure Cognitive Services](../what-are-cognitive-services.md) family of REST APIs and can be used with any operating system. Translator powers many Microsoft products and services used by thousands of businesses worldwide to perform language translation and other language-related operations. In this overview, you learn how Translator can enable you to build intelligent, multi-language solutions for your applications across all [supported languages](./language-support.md).
18
18
19
19
Translator documentation contains the following article types:
20
20
@@ -24,19 +24,21 @@ Translator documentation contains the following article types:
24
24
25
25
## Translator features and development options
26
26
27
-
The following features are supported by the Translator service. Use the links in this table to learn more about each feature and browse the API references.
27
+
Translator service supports the following features. Use the links in this table to learn more about each feature and browse the API references.
|[**Text Translation**](text-translation-overview.md)| Execute text translation between supported source and target languages in real time. | <ul><li>[**REST API**](reference/rest-api-guide.md) </li><li>[Text translation Docker container](containers/translator-how-to-install-container.md).</li></ul> |
32
32
|[**Document Translation**](document-translation/overview.md)| Translate batch and complex files while preserving the structure and format of the original documents. | <ul><li>[**REST API**](document-translation/reference/rest-api-guide.md)</li><li>[**Client-library SDK**](document-translation/how-to-guides/use-client-sdks.md)</li></ul> |
33
33
|[**Custom Translator**](custom-translator/overview.md)| Build customized models to translate domain- and industry-specific language, terminology, and style. | <ul><li>[**Custom Translator portal**](https://portal.customtranslator.azure.ai/)</li></ul> |
34
34
35
+
For detailed information regarding Azure Translator Service request limits, *see*[**Text translation request limits**](request-limits.md#text-translation).
36
+
35
37
## Try the Translator service for free
36
38
37
-
First, you'll need a Microsoft account; if you don't have one, you can sign up for free at the [**Microsoft account portal**](https://account.microsoft.com/account). Select **Create a Microsoft account** and follow the steps to create and verify your new account.
39
+
First, you need a Microsoft account; if you don't have one, you can sign up for free at the [**Microsoft account portal**](https://account.microsoft.com/account). Select **Create a Microsoft account** and follow the steps to create and verify your new account.
38
40
39
-
Next, you'll need to have an Azure account—navigate to the [**Azure sign-up page**](https://azure.microsoft.com/free/ai/), select the **Start free** button, and create a new Azure account using your Microsoft account credentials.
41
+
Next, you need to have an Azure account—navigate to the [**Azure sign-up page**](https://azure.microsoft.com/free/ai/), select the **Start free** button, and create a new Azure account using your Microsoft account credentials.
40
42
41
43
Now, you're ready to get started! [**Create a Translator service**](how-to-create-translator-resource.md"Go to the Azure portal."), [**get your access keys and API endpoint**](how-to-create-translator-resource.md#authentication-keys-and-endpoint-url"An endpoint URL and read-only key are required for authentication."), and try our [**quickstart**](quickstart-translator.md"Learn to use Translator via REST.").
0 commit comments