1.1.4 • Published 5 years ago

botfuel-nlp-sdk v1.1.4

Weekly downloads
16
License
Apache-2.0
Repository
github
Last release
5 years ago

botfuel-nlp-sdk

NLP web services wrapper for Node.js, includes:

How to setup

Install using npm:

npm install --save botfuel-nlp-sdk

How to use

  • 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);

License

See the LICENSE file.

1.1.4

5 years ago

1.1.3

5 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago