Skip to content

Commit 05c5182

Browse files
authored
Merge pull request #234734 from laujan/70203-move-content-limits-section-visibility
move and update content limits
2 parents 2f11f2c + 37ac9b1 commit 05c5182

File tree

8 files changed

+63
-48
lines changed

8 files changed

+63
-48
lines changed

articles/cognitive-services/Translator/document-translation/how-to-guides/use-rest-api-programmatically.md

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ manager: nitinme
77
ms.service: cognitive-services
88
ms.subservice: translator-text
99
ms.topic: quickstart
10-
ms.date: 03/22/2023
10+
ms.date: 04/17/2023
1111
ms.author: lajanuar
1212
recommendations: false
1313
ms.devlang: csharp, golang, java, javascript, python
@@ -112,6 +112,8 @@ The `sourceUrl` , `targetUrl` , and optional `glossaryUrl` must include a Share
112112

113113
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.
114114

115+
For detailed information regarding Azure Translator Service request limits, _see_ [**Document Translation request limits**](../../request-limits.md#document-translation).
116+
115117
### HTTP headers
116118

117119
The following headers are included with each Document Translation API request:
@@ -1272,22 +1274,6 @@ func main() {
12721274

12731275
---
12741276

1275-
## Content limits
1276-
1277-
This table lists the limits for data that you send to Document Translation:
1278-
1279-
|Attribute | Limit|
1280-
|---|---|
1281-
|Document size|40 MB |
1282-
|Total number of files.|1000 |
1283-
|Total content size in a batch |250 MB|
1284-
|Number of target languages in a batch|10 |
1285-
|Size of Translation memory file|10 MB|
1286-
1287-
Document Translation can't be used to translate secured documents such as those with an encrypted password or with restricted access to copy content.
1288-
1289-
## Troubleshooting
1290-
12911277
### Common HTTP status codes
12921278

12931279
| HTTP status code | Description | Possible reason |
@@ -1307,5 +1293,3 @@ Document Translation can't be used to translate secured documents such as those
13071293

13081294
> [!div class="nextstepaction"]
13091295
> [Create a customized language system using Custom Translator](../../custom-translator/overview.md)
1310-
>
1311-
>

articles/cognitive-services/Translator/document-translation/overview.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.service: cognitive-services
88
ms.subservice: translator-text
99
ms.custom: event-tier1-build-2022
1010
ms.topic: overview
11-
ms.date: 03/24/2023
11+
ms.date: 04/17/2023
1212
ms.author: lajanuar
1313
recommendations: false
1414
---
@@ -30,7 +30,7 @@ Document Translation is a cloud-based feature of the [Azure Translator](../trans
3030

3131
> [!NOTE]
3232
> 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)
3434
3535
## Document Translation development options
3636

@@ -70,6 +70,10 @@ Document Translation supports the following document file types:
7070
|Tab Separated Values/TAB|`tsv`/`tab`| A tab-delimited raw-data file used by spreadsheet programs.|
7171
|Text|`txt`| An unformatted text document.|
7272

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+
7377
### Legacy file types
7478

7579
Source file types are preserved during the document translation with the following **exceptions**:

articles/cognitive-services/Translator/document-translation/quickstarts/get-started-with-rest-api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ For this project, you need a **source document** uploaded to your **source conta
112112

113113
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.
114114

115+
For detailed information regarding Azure Translator Service request limits, *see* [**Document Translation request limits**](../../request-limits.md#document-translation).
116+
115117
### Headers
116118

117119
The following headers are included with each Document Translation API request:

articles/cognitive-services/Translator/quickstart-translator.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ Header|Value| Condition |
6969

7070
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.
7171

72+
For detailed information regarding Azure Translator Service request limits, *see* [**Text translation request limits**](request-limits.md#text-translation).
73+
7274
### [C#: Visual Studio](#tab/csharp)
7375

7476
### Set up your Visual Studio project

articles/cognitive-services/Translator/request-limits.md

Lines changed: 36 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,41 @@
11
---
2-
title: Request limits - Translator
2+
title: Request limits - Translator Service
33
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.
55
services: cognitive-services
66
author: laujan
77
manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: translator-text
1010
ms.topic: conceptual
11-
ms.date: 08/17/2022
11+
ms.date: 04/17/2023
1212
ms.author: lajanuar
1313
---
1414

15-
# Request limits for Translator
15+
# Request limits for Azure Translator Service
1616

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.
1818

19-
## Character and array limits per request
19+
## Text translation
2020

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.
2222

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.
2428

2529
| Operation | Maximum Size of Array Element | Maximum Number of Array Elements | Maximum Request Size (characters) |
2630
|:----|:----|:----|:----|
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 |
3337

34-
## Character limits per hour
38+
### Character limits per hour
3539

3640
Your character limit per hour is based on your Translator subscription tier.
3741

@@ -56,9 +60,24 @@ Limits for [multi-service subscriptions](./reference/v3-0-reference.md#authentic
5660

5761
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.
5862

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|
6078

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.
6281
6382
## Next steps
6483

articles/cognitive-services/Translator/toc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ items:
1313
- name: Pricing
1414
displayName: cost,free,standard,custom,tier,S1,S2,S3,S4,C2,C3,C4,D3,hosting
1515
href: https://azure.microsoft.com/pricing/details/cognitive-services/translator
16+
- name: Request limits
17+
displayName: detection,detect,region,
18+
href: request-limits.md
1619
- name: What's new?
1720
displayName: release,ga,update,support
1821
href: whats-new.md
@@ -124,9 +127,6 @@ items:
124127
href: reference/v3-0-dictionary-lookup.md
125128
- name: Dictionary Examples
126129
href: reference/v3-0-dictionary-examples.md
127-
- name: Request limits
128-
displayName: detection,detect,region,
129-
href: request-limits.md
130130
- name: Document Translation
131131
items:
132132
- name: What is Document Translation?

articles/cognitive-services/Translator/translator-faq.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,14 @@ Translator counts the following input:
2929
* An individual letter.
3030
* Punctuation.
3131
* 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.
3333

3434
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.
3535

3636
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.
3737

38+
For detailed information regarding Azure Translator Service request limits, *see* [**Text translation request limits**](request-limits.md#text-translation).
39+
3840
## Where can I see my monthly usage?
3941

4042
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/)
4547

4648
:::image type="content" source="media/azure-portal-overview.png" alt-text="Screenshot of the subscription link on overview page in the Azure portal.":::
4749

48-
2. In the left rail, make your selection under **Cost Management**:
50+
1. In the left rail, make your selection under **Cost Management**:
4951

5052
:::image type="content" source="media/azure-portal-cost-management.png" alt-text="Screenshot of the cost management resources links in the Azure portal.":::
5153

5254
## Is attribution required when using Translator?
5355

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.
5557

5658
If attribution is present, it must conform to the [Translator attribution guidelines](https://www.microsoft.com/translator/business/attribution/).
5759

articles/cognitive-services/Translator/translator-overview.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.author: lajanuar
1414

1515
# What is Azure Cognitive Services Translator?
1616

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).
1818

1919
Translator documentation contains the following article types:
2020

@@ -24,19 +24,21 @@ Translator documentation contains the following article types:
2424

2525
## Translator features and development options
2626

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.
2828

2929
| Feature | Description | Development options |
3030
|----------|-------------|--------------------------|
3131
| [**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> |
3232
| [**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> |
3333
| [**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> |
3434

35+
For detailed information regarding Azure Translator Service request limits, *see* [**Text translation request limits**](request-limits.md#text-translation).
36+
3537
## Try the Translator service for free
3638

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.
3840

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.
4042

4143
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.").
4244

0 commit comments

Comments
 (0)