NLP web services wrapper for Node.js, includes:
Install using npm:
npm install --save botfuel-nlp-sdk
- Spell checking:
const { Spellchecking } = require('botfuel-nlp-sdk');
const spellchecker = new Spellchecking({appId: 'myAppId', appKey: 'myAppKey'});
spellchecker.compute({ sentence: 'you aer bad', key: 'EN_1'}).then(console.log);
- Sentiment analysis:
const { SentimentAnalysis } = require('botfuel-nlp-sdk');
const sentimentAnalyzer = new SentimentAnalysis({appId: 'myAppId', appKey: 'myAppKey'});
sentimentAnalyzer.compute({ sentence: 'you are bad' }).then(console.log);
- Entity extraction:
const { EntityExtraction } = require('botfuel-nlp-sdk');
const entityExtractor = new EntityExtraction({appId: 'myAppId', appKey: 'myAppKey'});
entityExtractor.compute({ sentence: 'Today, you are bad', locale: 'en'}).then(console.log);
See the LICENSE file.