Home / Companies / Twilio / Blog / Post Details
Content Deep Dive

Build a Speech Translation Bot with Twilio Programmable Voice and IBM Watson

Blog post from Twilio

Post Details
Company
Date Published
Author
Chisimdiri Ejinkeonye
Word Count
2,491
Language
English
Hacker News Points
-
Summary

You're going to build a speech translation bot that analyzes your voice on a call and responds with a translated version in the language of your choice. The bot will use Twilio Programmable Voice and IBM Watson's Speech Translation API, which can be used without an internet connection, making it suitable for even the simplest feature phones. The bot has three functions: greeting.js, handle-language.js, and translate-message.js. Each function is responsible for a specific task in the translation process, such as collecting user input, checking language support, and translating speech. The bot uses Twilio Functions to create webhooks and respond to incoming calls. It also utilizes IBM Watson's Language Translator service to translate speech into different languages. With this tutorial, you'll learn how to build a practical solution for speech translation using these technologies.