Microsoft Azure SDK for Node.js - Cognitive Services Spellcheck
This project provides a Node.js package that makes it easy to work with the Microsoft Azure Cognitive Services Spellcheck APIs. Right now it supports:
- Node.js version: 6.x or higher
How to Install
npm install azure-cognitiveservices-spellcheck
How to use
Create a Cognitive Services Account(ex. Spell Check)
const msRestAzure = ; const CognitiveServicesManagement = ; let client; let createAccount = msRestAzure;
List the keys from the created account
let serviceKey; createAccount;
Create credentials
const CognitiveServicesCredentials = CognitiveServicesCredentials; // Creating the Cognitive Services credentials// This requires a key corresponding to the service being used (i.e. text-analytics, etc)let credentials = serviceKey;
Spellcheck API
const SpellCheckAPIClient = ; let client = credentials;let options = text: 'cognituve services';client;
More Detailed Information
https://azure.microsoft.com/en-us/try/cognitive-services/ under "Language"