Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public TextAnalyticsProcessing(TraceWriter Log)
{
log = Log;
log.Info("Text Processing Section Called");
// Create a client.
client = new TextAnalyticsClient(new ApiKeyServiceClientCredentials())
{
Endpoint = "https://australiaeast.api.cognitive.microsoft.com"
}; //Replace 'australiaeast' with the correct region for your Text Analytics subscription
log.Info("Text Processing section initialized");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment