Skip to content

Commit f522944

Browse files
committed
krishna feedback
1 parent f78e2fb commit f522944

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

articles/ai-services/translator/containers/translate-document-parameters.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Container: Translate document method"
2+
title: "Container: Translate document"
33
titleSuffix: Azure AI services
44
description: Understand the parameters, headers, and body request/response messages for the Azure AI Translator container translate document operation.
55
#services: cognitive-services
@@ -31,14 +31,14 @@ ms.author: lajanuar
3131

3232
***With optional parameters***
3333

34-
```http
34+
```bash
3535
POST {Endpoint}/translate?api-version=3.0&from={from}&to={to}&textType={textType}&category={category}&profanityAction={profanityAction}&profanityMarker={profanityMarker}&includeAlignment={includeAlignment}&includeSentenceLength={includeSentenceLength}&suggestedFrom={suggestedFrom}&fromScript={fromScript}&toScript={toScript}
3636
```
3737

3838
Example:
3939

4040
```bash
41-
`curl -i -X POST "http://localhost:5000/translator/document:translate?sourceLanguage=en&targetLanguage=hi&api-version=2023-11-01-preview" -F "document={path-to-your-document-with-file-extension};type={ContentType}/{file-extension" -o "{path-to-output-file-with-file-extension}"`
41+
`curl -i -X POST "http://localhost:5000/translator/document:translate?sourceLanguage=en&targetLanguage=hi&api-version={version}" -F "document={path-to-your-document-with-file-extension};type={ContentType}/{file-extension" -o "{path-to-output-file-with-file-extension}"`
4242
```
4343

4444
## Synchronous request headers and parameters

articles/ai-services/translator/containers/translate-text-parameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Container: Translate text method"
2+
title: "Container: Translate text"
33
titleSuffix: Azure AI services
44
description: Understand the parameters, headers, and body messages for the Azure AI Translator container translate document operation.
55
author: laujan

articles/ai-services/translator/containers/transliterate-text-parameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Container: Transliterate document method"
2+
title: "Container: Transliterate text"
33
titleSuffix: Azure AI services
44
description: Understand the parameters, headers, and body messages for the Azure AI Translator container transliterate text operation.
55
#services: cognitive-services

0 commit comments

Comments
 (0)