Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nature1995/angry-duckhacks
A speech sentiment text recorder for improve communication by Flask, GCP, Javascript
https://github.com/nature1995/angry-duckhacks
flask gcp sentiment-classification server speech-to-text
Last synced: 14 days ago
JSON representation
A speech sentiment text recorder for improve communication by Flask, GCP, Javascript
- Host: GitHub
- URL: https://github.com/nature1995/angry-duckhacks
- Owner: nature1995
- License: gpl-3.0
- Created: 2019-02-16T18:18:24.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T23:53:26.000Z (about 2 years ago)
- Last Synced: 2024-10-31T23:12:44.900Z (2 months ago)
- Topics: flask, gcp, sentiment-classification, server, speech-to-text
- Language: JavaScript
- Homepage:
- Size: 568 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.cn.md
- License: LICENSE
Awesome Lists containing this project
README
# angry-duckhacks
[![License](https://img.shields.io/badge/license-GPL--3.0-green.svg)](https://github.com/angryducks/angry-ducks/blob/master/LICENSE)
**DuckHacks 2019 at Stevens Institute of Technology**
如果您觉得内容不错,请支持本项目,欢迎给予Star.
[English](https://github.com/nature1995/angry-duckhacks/blob/master/README.md) | 中文
## 简介
当今的社会在国际文化交融日渐广泛,英语已经成为全世界各国人民沟通的桥梁。但即便说的都是一种语言,英语不是母语的人可能会对语言的理解不一样。最终造成情感理解的偏差。
如果我们的程序可以实时记录对话,我们可以分析语言的情绪并协助说话来判断我们的情绪是否正确。通过这种方式,表达了最准确的情感和意义。## 目的
这是一个轻量级web服务访问程序,通过它可以直接进行语言转文字,并进行记录。在记录的同时可以进行情感分析。
## 架构
## 特点
- [x]创建Flask Web服务器
- [X]构建fontend和后端
- [x]添加功能:实时语音到文本
- [x]添加功能:识别情绪
- [x]添加功能:录制语音文本
- [x]进行实时语音,文本,情感识别。
- [x]在Google Cloud Server上运行Angry-Ducks## Demo
## 运行:
1. 克隆仓库:
```
git clone [email protected]:nature1995/angry-duckhacks.git
```
2. 进入angry-duckhacks文件夹并设置虚拟环境 (https://pypi.org/project/virtualenv):
```
cd angry-duckhacks
virtualenv env
source env/bin/active
```
3. 安装requirement:
```
pip install -r requirement.txt
```
4. 设置Google Cloud Platform:
- Go to https://console.cloud.google.com
- Click "Select a project"
- Set up a new project.
- Go to APIs & Services and choose “+ENABLE APIS AND SERVICES”.
- Enable “Cloud Natural Language API” and “Cloud Speech-to-Text API”.
- Click “Credentials” => “Create credentials” => “Service account key” =>get your own json key.
5. 将你的json密钥放在工程根目录下
```
/angry-duckhacks/.json
```
6. 更改setting.py
```
GOOGLE_API = 'google-api.json' #Your GOOGLE_API
```
7. 在您自己的计算机上运行服务器:
```
python main.py 0.0.0.0:5000
```## 作者
1. [nature1995](https://github.com/nature1995) | Ziran Gong
2. [zfz](https://github.com/zfz) | Fangzhou Zhang
3. [zzdqqqq](https://github.com/zzdqqqq) | Zidong Zhang
4. [zlaomin](https://github.com/zlaomin) | Yuchen Zeng## 组织
* [Angry Ducks](https://github.com/angryducks): 门前大桥下, 游过一群鸭, 快来, 快来数一数, 二四六七八。
> **Anyone is welcome to participate and improve: one can go very fast, but a group of people can go further.**## License
本软件根据GNU通用公共许可证v3.0许可证授权。 有关更多信息,请阅读该文件[LICENSE](https://github.com/nature1995/angry-duckhacks/blob/master/LICENSE).