Back in January, we supported Hack Cambridge -- a 24-hour student hackathon. The team behind Triolingo wanted to help language learners gain confidence in conversation by practicing with a bot. I sat down with Alba Navarro Rosales, Anoushka Kamazumdar, Max Johnson, and Megan Elisabeth Finch to ask them about their project.
"We were inspired by Deepgram's sponsor challenge to create something cool using speech recognition and were excited to see that it supported several foreign languages," the team told me. "Over the past three years, the coronavirus pandemic has had a significant impact on schools, and travel restrictions have limited opportunities for foreign language learning abroad. During this time, the use of online language learning platforms such as Duolingo has soared, but these platforms cannot provide practice for speaking and listening skills. We created Triolingo to cater to this niche, allowing language learners to gain confidence in conversation through practice."
How It Works
Users select a conversation topic and target language, and the Triolingo bot then begins a conversation with several topic-appropriate prompts. Users then record a verbal response sent for processing by the Deepgram Python SDK.
No two chats are the same as the multilingual chatbot is powered by GPT-3 provided by OpenAI, which dynamically responds to prompts. Finally, responses are spoken back to users using a text-to-speech API.
Care was taken to include extended topics beyond everyday and tourism-focused conversation -- prompts included culture, climate change, and politics.
The Triolingo team had only participated in online hackathons before, so this was a new experience. As a large group of twelve people, they self-organized a random name picker and created three teams within the event's team size limit. "I've never used a GPT-3 API before, and it was both super cool and very impressive" said Alba.
I asked the team about their experience using Deepgram, and Max said that "the performance was really good and accurate, even with background noise." As their project progressed, they were visited by other teams who had fun trying it out.
Given more time, the team would use additional Deepgram functionality such as confidence values in a Deepgram response to assess the user's pronunciation. Our keywords feature would boost recognition of words related to the conversation topic and further improve the reliability of the speech recognition function.
There are different grammatical constructs in some languages depending on who you are talking to, such as different pronouns or verb endings. As a final idea, the bot could adopt the appropriate type of language according to the situation.
Did you find what you were looking for?