Skip to content

Commit a139954

Browse files
committed
move and update content limits
1 parent a624ae1 commit a139954

File tree

4 files changed

+45
-38
lines changed

4 files changed

+45
-38
lines changed

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

Lines changed: 4 additions & 16 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
@@ -1272,21 +1272,11 @@ func main() {
12721272

12731273
---
12741274

1275-
## Content limits
1276-
1277-
This table lists the limits for data that you send to Document Translation:
1275+
## Troubleshooting
12781276

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|
1277+
### Content limits
12861278

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
1279+
For more information on content limits, _see_, [**Document Translation request limits**](../../request-limits.md#document-translation)
12901280

12911281
### Common HTTP status codes
12921282

@@ -1307,5 +1297,3 @@ Document Translation can't be used to translate secured documents such as those
13071297

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

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

Lines changed: 2 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

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?

0 commit comments

Comments
 (0)