@azure/cognitiveservices-spellcheck package

Classes

SpellCheckClient
SpellCheckClientContext

Interfaces

Answer

An interface representing Answer.

ErrorModel

Defines the error that occurred.

ErrorResponse

The top-level response that represents a failed request.

Identifiable

Defines the identity of a resource.

Response

Defines a response. All schemas that could be returned at the root of a response should inherit from this

ResponseBase

An interface representing ResponseBase.

SpellCheck

An interface representing SpellCheck.

SpellCheckClientOptions

An interface representing SpellCheckClientOptions.

SpellCheckClientSpellCheckerOptionalParams

Optional Parameters.

SpellingFlaggedToken

An interface representing SpellingFlaggedToken.

SpellingTokenSuggestion

An interface representing SpellingTokenSuggestion.

Type Aliases

ActionType

Defines values for ActionType. Possible values include: 'Edit', 'Load'

AnswerUnion

Contains the possible cases for Answer.

ErrorCode

Defines values for ErrorCode. Possible values include: 'None', 'ServerError', 'InvalidRequest', 'RateLimitExceeded', 'InvalidAuthorization', 'InsufficientAuthorization'

ErrorSubCode

Defines values for ErrorSubCode. Possible values include: 'UnexpectedError', 'ResourceError', 'NotImplemented', 'ParameterMissing', 'ParameterInvalidValue', 'HttpNotAllowed', 'Blocked', 'AuthorizationMissing', 'AuthorizationRedundancy', 'AuthorizationDisabled', 'AuthorizationExpired'

ErrorType

Defines values for ErrorType. Possible values include: 'UnknownToken', 'RepeatedToken'

IdentifiableUnion

Contains the possible cases for Identifiable.

Mode

Defines values for Mode. Possible values include: 'proof', 'spell'

ResponseBaseUnion

Contains the possible cases for ResponseBase.

ResponseUnion

Contains the possible cases for Response.

SpellCheckerResponse

Contains response data for the spellChecker operation.