BingSpellCheckManager Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.spellcheck.BingSpellCheckManager

public class BingSpellCheckManager

Entry point to Azure Cognitive Services Bing Spell Check manager.

Method Summary

Modifier and Type Method and Description
BingSpellCheckAPI authenticate(RestClient restClient)

Initializes an instance of Bing Spell Check API client.

BingSpellCheckAPI authenticate(ServiceClientCredentials credentials)

Initializes an instance of Bing Spell Check API client.

BingSpellCheckAPI authenticate(String subscriptionKey)

Initializes an instance of Bing Spell Check API client.

BingSpellCheckAPI authenticate(String baseUrl, final String subscriptionKey)

Initializes an instance of Bing Spell Check API client.

BingSpellCheckAPI authenticate(String baseUrl, ServiceClientCredentials credentials)

Initializes an instance of Bing Spell Check API client.

Method Details

authenticate

public static BingSpellCheckAPI authenticate(RestClient restClient)

Initializes an instance of Bing Spell Check API client.

Parameters:

restClient - the REST client to connect to Azure.

Returns:

the Bing Spell Check API client

authenticate

public static BingSpellCheckAPI authenticate(ServiceClientCredentials credentials)

Initializes an instance of Bing Spell Check API client.

Parameters:

credentials - the management credentials for Azure

Returns:

the Bing Spell Check API client

authenticate

public static BingSpellCheckAPI authenticate(String subscriptionKey)

Initializes an instance of Bing Spell Check API client.

Parameters:

subscriptionKey - the Bing Spell Check API key

Returns:

the Bing Spell Check API client

authenticate

public static BingSpellCheckAPI authenticate(String baseUrl, final String subscriptionKey)

Initializes an instance of Bing Spell Check API client.

Parameters:

baseUrl - the base URL of the service
subscriptionKey - the Bing Search API key

Returns:

the Bing Spell Check API client

authenticate

public static BingSpellCheckAPI authenticate(String baseUrl, ServiceClientCredentials credentials)

Initializes an instance of Bing Spell Check API client.

Parameters:

baseUrl - the base URL of the service
credentials - the management credentials for Azure

Returns:

the Bing Spell Check API client

Applies to