# botfuel-nlp-sdk

> NLP web services wrapper for Node.js

Latest version **1.1.4** (published 2019-05-13) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install botfuel-nlp-sdk
pnpm add botfuel-nlp-sdk
yarn add botfuel-nlp-sdk
bun add botfuel-nlp-sdk
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.4 |
| Published | 2019-05-13 |
| First published | 2017-07-19 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 49 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Botfuel |
| Maintainers | botfueladmin |

## Links

- npm: https://www.npmjs.com/package/botfuel-nlp-sdk
- Repository: https://github.com/Botfuel/botfuel-nlp-sdk
- Homepage: https://github.com/Botfuel/botfuel-nlp-sdk#readme
- Issues: https://github.com/Botfuel/botfuel-nlp-sdk/issues
- npm.io page: https://npm.io/package/botfuel-nlp-sdk

## Dependencies (4)

- [request](https://npm.io/package/request.md) ^2.79.0
- [url-join](https://npm.io/package/url-join.md) ^2.0.2
- [babel-polyfill](https://npm.io/package/babel-polyfill.md) ^6.6.1
- [request-promise-native](https://npm.io/package/request-promise-native.md) ^1.0.3

## Recent versions

- 1.1.4 (latest) — 2019-05-13
- 1.1.3 — 2019-05-13
- 1.1.1 — 2017-09-22
- 1.1.0 — 2017-09-18
- 1.0.3 — 2017-08-03
- 1.0.2 — 2017-08-01
- 1.0.1 — 2017-07-19
- 1.0.0 — 2017-07-19

## README

# botfuel-nlp-sdk

NLP web services wrapper for Node.js, includes:
- [Spell checking](src/resources/spellchecking.js);
- [Sentiment analysis](src/resources/sentiment-analysis.js);
- [Entity extraction](src/resources/entity-extraction.js).

## How to setup

Install using npm:
```shell
npm install --save botfuel-nlp-sdk
```

## How to use

- Spell checking:
```node.js
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:
```node.js
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:
```node.js
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](LICENSE.md) file.

---
_Source: https://npm.io/package/botfuel-nlp-sdk · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
