Skip to content
A speech sentiment text recorder for improve communication by Flask, GCP, Javascript
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
static Upload Feb 17, 2019
templates Upload Feb 17, 2019
.gitignore Upload Feb 17, 2019
LICENSE Upload Feb 17, 2019 Update Feb 22, 2019 Update Feb 18, 2019 Upload Feb 17, 2019
requirements.txt Update requirements.txt Apr 20, 2019 Upload Feb 17, 2019 Upload Feb 17, 2019



DuckHacks 2019 at Stevens Institute of Technology

If you appreciate the content, support projects, give star!

English| 中文


Nowadays, the society has become more and more extensive in international culture, and English has become a bridge for communication between people all over the world. But even if it is a language, people who are not native speakers of English may have different understandings of the language. The result is a bias in emotional understanding.

If our program can record conversations in real time, we can analyze the emotions of the language and assist in speaking to judge whether our emotions are correct. In this way, the most accurate emotions and meanings are expressed.


This is a lightweight web service access program that allows you to directly translate text into words and record them. Emotional analysis can be performed while recording.



  • Create Flask web server
  • Build fontend and backend
  • Add feature: Real time speech to text
  • Add feature: Identify sentiment
  • Add feature: Record speech text
  • Make real time speech, text, sentiment identification.
  • Run Angry-Ducks on the Google Cloud Server


Run the code:

  1. Clone this repository:
git clone
  1. Go into angry-duckhacks folder and set up virtual environment (
 cd angry-duckhacks
 virtualenv env
 source env/bin/active
  1. Install requirement:
 pip install -r requirement.txt
  1. Set up Google Cloud Platform:
    • Go to
    • 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.
  2. Put your json key under angry-duckhacks root
/angry-duckhacks/<your project ID>.json
  1. Change
GOOGLE_API = 'google-api.json' #Your GOOGLE_API
  1. Run server on your own computer:


  1. nature1995 | Ziran Gong
  2. zfz | Fangzhou Zhang
  3. zzdqqqq | Zidong Zhang
  4. zlaomin | Yuchen Zeng


  • Angry Ducks: 门前大桥下, 游过一群鸭, 快来, 快来数一数, 二四六七八。

Anyone is welcome to participate and improve: one can go very fast, but a group of people can go further.


This software is licensed under the GNU General Public License v3.0 License. For more information, read the file LICENSE.

You can’t perform that action at this time.