This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.24k
stars
4.58k
forks
source link
[BUG] Language support for method RecognizeEntitiesAsync stopped working #39822
Since the summer i have used the Named Entity Recognition with language set to "da" to find entities in my text. This have now stopped working with the error:
Library name and version
Azure.Ai.TextAnalytics 5.3.0
Describe the bug
Since the summer i have used the Named Entity Recognition with language set to "da" to find entities in my text. This have now stopped working with the error:![billede](https://github.com/Azure/azure-sdk-for-net/assets/32457305/6f5d8eb1-3d3b-410d-b95b-499bfed716ff)
I have used this version since summer with no problem, and in the documentation (https://learn.microsoft.com/en-us/azure/ai-services/language-service/named-entity-recognition/language-support?tabs=ga-api) it shows that the danish (da) language is still supported.
Expected behavior
Calling RecognizeEntitiesAsync(document, "da") would return entities in my text.
Actual behavior
Reproduction Steps
var credential = new AzureKeyCredential("xxx"); var endpoint = new Uri("https://xxx.cognitiveservices.azure.com/");
var client = new TextAnalyticsClient(endpoint, credential); string document = "Hej Alen. Har du det godt?";
Response entities = await client.RecognizeEntitiesAsync(document, "da");
Environment
No response