Skip to content

Instantly share code, notes, and snippets.

@AsishP
Created May 30, 2019 03:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AsishP/564903901b7239716ef8c373e4839f7f to your computer and use it in GitHub Desktop.
Save AsishP/564903901b7239716ef8c373e4839f7f to your computer and use it in GitHub Desktop.
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