For Questions: Andes#3783 on discord
Inspiration
We drew our inspiration from the APIs made available by the sponsors to the event. We wanted to combine two or more separate APIs from the list of sponsors, and we settled on AssemblyAI and Google Cloud Natural Language processing. Using these two APIs, we decided to process audio files and analyze their sentiment.
What it does
Test of Chivalry analyzes the sentiment of both voice recordings and text by converting voice recordings to a transcript using AssemblyAi and then using Google Cloud Natural Language Processing to determine the sentiment of the overall message as well as each individual sentence.
How we built it
We used Javascript, HTML, and CSS to call a series of APIs (AssemblyAI and then Google Cloud Natural Language Processing) based on an input on the page. The AssemblyAI API converted voice messages into transcripts, which we then uploaded to the Google Cloud Natural Language Processing API to analyze the sentiment of the overall message and each sentence. We then used the sentiment and magnitude score of the overall document to calculate the Chivalry Score of the message.
Challenges we ran into
With API calling, there are many small areas that can be overlooked during the process of programming that can be difficult to spot when debugging. At times, there were errors we had lots of difficulty finding.
Accomplishments that we're proud of
As a team, we were able to accomplish our original goal of combining the AssemblyAI API and the Google Cloud Natural Language Processing API to create something interesting and useful. We both were able to add interesting skills to our repertoire that we had either fell out of practice in or had not used before. We worked well as a team and were able to find tasks that complemented our strengths while also giving us the most room to grow as programmers.
What we learned
In the backend, I learned a lot about using APIs and understanding the documentation and process behind calling APIs. I grew back into practice with javascript, and I improved my skills on the backend greatly. The frontend dev, Rohan, had also not worked with HTML and CSS in many years. However, he rose up to the challenge and built a beautiful website through a learning process that allowed him to improve his HTML and CSS skills from zero to hero.
What's next for Test of Chivalry
Test of Chivalry can expand in two possible directions. Primarily, on the base website, the website can be improved to use AssemblyAI's sound file upload to support file upload for voice processing, instead of being restricted to links online. In another area, Test of Chivalry can expand into becoming a Chrome extension that scans emails and gives an overall rating and indicates sentences that may have a "lack of chivalry" in them.
Log in or sign up for Devpost to join the conversation.