Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andostronaut/emotive-ai
Sentiment and emotion analysis cli that uses machine learning and natural language processing to identify and classify emotions in text data
https://github.com/andostronaut/emotive-ai
ai cli emotion-analysis machine-learning natural-language-processing sentiment-analysis text typescript
Last synced: about 9 hours ago
JSON representation
Sentiment and emotion analysis cli that uses machine learning and natural language processing to identify and classify emotions in text data
- Host: GitHub
- URL: https://github.com/andostronaut/emotive-ai
- Owner: andostronaut
- License: mit
- Created: 2023-04-12T12:06:09.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-07-10T20:04:48.000Z (about 1 year ago)
- Last Synced: 2024-10-04T10:46:17.622Z (1 day ago)
- Topics: ai, cli, emotion-analysis, machine-learning, natural-language-processing, sentiment-analysis, text, typescript
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/emotive-ai
- Size: 400 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EmotiveAI
![build](https://github.com/iamando/emotive-ai/workflows/build/badge.svg)
![license](https://img.shields.io/github/license/iamando/emotive-ai?color=success)
![npm](https://img.shields.io/npm/v/emotive-ai)
![release](https://img.shields.io/github/release-date/iamando/emotive-ai)Sentiment and emotion analysis cli that uses machine learning and natural language processing to identify and classify emotions in text data
![Demo](docs/demo.png)
## Setup
Get your MONKEY_LEARN_API_KEY and MONKEY_LEARN_MODEL_ID from [MonkeyLearn](https://monkeylearn.com/signup/)
> You'll have to create a account and use the trial mode just to test it
Set your API_KEY and MODEL_ID:
```bash
emotive-ai config ui # to use ui prompt directlyemotive-ai config set MONKEY_LEARN_API_KEY= # for api key
emotive-ai config set MONKEY_LEARN_MODEL_ID= # for model
```## Usage
Recommended
```bash
npx emotive-ai
```Using global installation
```bash
npm install -g emotive-ai # npm
yarn add global emotive-ai # yarnemotive-ai
```## Example
```bash
emotive-ai hello guys
```> 😄 : Positive with 65.81% of confidence
> A positive sentiment tag indicates that the sentiment of a piece of text is generally positive.This could mean that the text expresses a favorable opinion, conveys happiness or excitement, or generally has a positive tone.```bash
emotive-ai its really a bad day
```> 😢 : Negative with 93.82% of confidence
> A negative sentiment tag indicates that the sentiment of a piece of text is generally negative. This could mean that the text expresses a critical opinion, conveys sadness or disappointment, or generally has a negative tone.## Support
EmotiveAI is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers.
## License
EmotiveAI is [MIT licensed](LICENSE).