All Projects → DIYgod → Text2emotion

DIYgod / Text2emotion

🍪 分析一句话的情绪值

Programming Languages

javascript
184084 projects - #8 most used programming language

Text2Emotion

分析一句话的情绪值

介绍

有两种版本:

使用

https://api.prprpr.me/emotion?text={一句话}

https://api.prprpr.me/emotion/wenzhi?password=DIYgod&text={一句话}

搭建

需要环境:Node.js MongoDB Redis

emos.json导入 MongoDB:

mongoimport -d emotion -c emos --file emos.json

根目录需要新建配置文件 config.js

module.exports = {
    xfkey: '',        // 讯飞开放平台密钥
    wzSecretId: '',   // 腾讯云API密钥 - SecretId
    wzSecretKey: '',  // 腾讯云API密钥 - SecretKey
    wzPassWord: ''    // 腾讯文智版调用口令
};

LICENSE

MIT © DIYgod

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].