Skip to content

Sample Project

Ceyhun ÖZGÜN edited this page Jul 22, 2018 · 1 revision

This project uses AWS AI Scratch Extension for converting text to speech in English and translating text from English to Spanish.

You can try the project here.

When you click the link, ScratchX will give you a warning like below, click 'I understand, continue' to load the project.

When the project is loaded, it will look like below.

The project contains 3 parts.

First part initializes AWS services and plays a welcome message using say block.

Initialization part

Second part runs when 's' key is pressed. When 's' key pressed, the user is requested to enter a sentence and sentence is read using say block.

When 't' key pressed, third part prepares Amazon Translate calls by selecting English as source language and Spanish as target language. After that, the user is requsted to enter a sentence in English and then sentence is translated to Spanish using translate block and read in Spanish using say block

Clone this wiki locally