Formerly known as Azure AI Services or Azure Cognitive Services is a unified collection of prebuilt AI capabilities within the Microsoft Foundry platform
Hello @Djamel Ziane
Yes, the Azure Healthcare Text Analytics service supports German language. You can use the Text Analytics API with the "de" language code to analyze German text.
The Healthcare Text Analytics service provides pre-built models specifically designed for analyzing clinical and medical text, including electronic health records, medical literature, and other healthcare-related documents. The service can perform tasks such as entity recognition, sentiment analysis, and key phrase extraction, which can be useful for a variety of healthcare use cases.
To use the Healthcare Text Analytics service with German text, you can send a request to the Text Analytics API with the "de" language code specified in the language parameter. Here is an example request using the Text Analytics API in C#
// Replace with your Text Analytics API endpoint and subscription key
string endpoint = "https://<your-api-endpoint>.cognitiveservices.azure.com/";
string subscriptionKey = "<your-subscription-key>";
// Replace with your German text to analyze
string text = "Ein Mann geht spazieren in einem Park.";
// Create a Text Analytics client
var client = new TextAnalyticsClient(new Uri(endpoint), new AzureKeyCredential(subscriptionKey));
// Analyze the German text
var result = await client.AnalyzeSentimentAsync(text, "de");
// Display the sentiment score
Console.WriteLine($"Sentiment score: {result.Value.SentimentScore}");
This example analyzes the sentiment of German text and displays the sentiment score. You can modify this example to perform other text analysis tasks using the Text Analytics API.
Kindly mark this answer as Accepted in case it helped or post your feedback !
Regards