Lingua

Made by Ammani Nair

Found in Prototyping Bots

A translation bot for those times for when you can't find the right words.

0

Who Is Lingua?

A bot for your translation needs! With the help of Amazon Dot, ask Lingua to translate any word or sentence from English to another language. Lingua is a young bot, continuously learning new skills and languages to keep you on your feet, as you go through the world of language.

0

What Can She Do?

Provide Lingua with verbal input specifying a phrase and the language you want it translated to. She will respond verbally, as well as, send you an SMS with the translation.

Secondary functions include an option to revisit old translation and a quizzing game with questions based on previously translated phrases.

Tertiary Function could include a connection to a social API such as Facebook or Twitter. A user can share scores from the quiz or share progress in a language.

-1

What's Lingua Like?

Lingua is a simple bot, constantly trying to keep you on your toes. When she's not busy helping you out, she's learning new languages and new ways to challenge you.

She is calm but doesn't do well with mediocrity. She is friendly but curt, encouraging but particular, understanding but witty. She can be quite the hypocrite, but who isn't?

0

Lingua In Action

0
0

What's Important?

The priority matrix below highlights the various tasks that needed to be programmed, arranged according to the importance and effort required to accomplish them.    

0

How Does She Work?

Lingua integrates three API's in it's functioning. It connects to the Microsoft Translate API for translations. The Alexa API provides the input and speech interaction while the Twilio API provides the SMS feedback. The app is written in Ruby Sinatra and PostgreSQL is used for the database. The app is deployed in the cloud using the Heroku platform service.

0

Functional Diagram

The diagram below illustrates the flow of possible interaction and functions.

0

Data Flow Diagram

The following diagram shows the various databases in the app uses and how the databases connect to each other and the Microsoft Translate API.

0

Looking Forward

Currently, Lingua can only take English inputs and provide answers for 16 languages which are all written in the Georgian script. In future, she hopes to learn languages in different scripts and provide translations from any language to another.

A daily word function can be introduced in the app which will send an SMS and verbally tell the user the translation of a new word every day.

0

Reflections

A few things I learned while working on this project were:

1. The various components and steps involved in writing and deploying an app.

2. The whole process is iterative and about troubleshooting. Google is your closest friend. Patience is key.

3. The most surprising aspect of this project was how easy it was to work with Alexa. The various functions and input parsing methods built in ensured working with Alexa was quick and easy to edit.

x
Share this Project

Courses

49-714 Programming for Online Prototypes

· 14 members

An introduction to rapidly prototyping web-based products and services. This 7-week experience will teach students the basics of web development for online services. Specifically, well focus on lig...more


Focused on
Skills
Tools
About

A translation bot for those times for when you can't find the right words.

Created

December 15th, 2016