Skip to content

Commit 9a2aa3b

Browse files
Merge pull request #209184 from aahill/auto-lang
automatic language detection
2 parents b6a904d + 8674ddc commit 9a2aa3b

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

articles/cognitive-services/language-service/concepts/use-asynchronously.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: language-service
1010
ms.topic: conceptual
11-
ms.date: 08/08/2022
11+
ms.date: 08/25/2022
1212
ms.author: aahi
1313
---
1414

@@ -68,6 +68,10 @@ Afterwards, use the client object to send asynchronous calls to the API. The met
6868

6969
When using this feature asynchronously, the API results are available for 24 hours from the time the request was ingested, and is indicated in the response. After this time period, the results are purged and are no longer available for retrieval.
7070

71+
## Automatic language detection
72+
73+
Starting in version `2022-07-01-preview` of the REST API, you can request automatic [language detection](../language-detection/overview.md) on your documents. By setting the `language` parameter to `auto`, the detected language code of the text will be returned as a language value in the response. This language detection will not incur extra charges to your Language resource.
74+
7175
## Data limits
7276

7377
> [!NOTE]

articles/cognitive-services/language-service/whats-new.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: language-service
1010
ms.topic: overview
11-
ms.date: 07/28/2022
11+
ms.date: 08/25/2022
1212
ms.author: aahi
1313
ms.custom: ignite-fall-2021, event-tier1-build-2022
1414
---
@@ -17,6 +17,10 @@ ms.custom: ignite-fall-2021, event-tier1-build-2022
1717

1818
Azure Cognitive Service for Language is updated on an ongoing basis. To stay up-to-date with recent developments, this article provides you with information about new releases and features.
1919

20+
## August 2022
21+
22+
* [Role-based access control](./concepts/role-based-access-control.md) for the Language service.
23+
2024
## July 2022
2125

2226
* New AI models for [sentiment analysis](./sentiment-opinion-mining/overview.md) and [key phrase extraction](./key-phrase-extraction/overview.md) based on [z-code models](https://www.microsoft.com/research/project/project-zcode/), providing:
@@ -25,14 +29,14 @@ Azure Cognitive Service for Language is updated on an ongoing basis. To stay up-
2529

2630
* Conversational PII is now available in all Azure regions supported by the Language service.
2731

28-
* A new version of the Language API (`2022-07-15-preview`) has been released. It provides:
29-
* Automatic language detection for asynchronous tasks.
32+
* A new version of the Language API (`2022-07-01-preview`) has been released. It provides:
33+
* [Automatic language detection](./concepts/use-asynchronously.md#automatic-language-detection) for asynchronous tasks.
3034
* For Text Analytics for health, confidence score are now returned in relations.
3135

3236
To use this version in your REST API calls, use the following URL:
3337

3438
```http
35-
<your-language-resource-endpoint>/language/:analyze-text?api-version=2022-07-15-preview`
39+
<your-language-resource-endpoint>/language/:analyze-text?api-version=2022-07-01-preview
3640
```
3741
3842
## June 2022

0 commit comments

Comments
 (0)