code: public static TextAnalyticsAPI authenticate(AzureRegions region, String subscriptionKey) {
          return authenticate("https://{AzureRegion}.api.cognitive.microsoft.com/text/analytics/", subscriptionKey)
                  .withAzureRegion(region);
      }
docs: Initializes an instance of Text Analytics API client.
  
  @param region Supported Azure regions for Cognitive Services endpoints.
  @param subscriptionKey the Text Analytics API key
  @return the Text Analytics API client