![](https://liag.ft.unicamp.br/act-new/wp-content/uploads/sites/33/2022/06/image-208.png)
Aula 5 – Inteligencia artificial
Atividade: Aplicativo de Tradução de Texto
1– Colocar Legenda1. Ir em “Interface do Usuário” > “Legenda”
![](https://liag.ft.unicamp.br/act-new/wp-content/uploads/sites/33/2022/06/image-209.png)
2– Colocar CaixaDeTexto1. Ir em “Interface do Usuário” > “CaixaDeTexto”
![](https://liag.ft.unicamp.br/act-new/wp-content/uploads/sites/33/2022/06/image-210.png)
3– Colocar Botão1. Ir em “Interface do Usuário” > “Botão”
![](https://liag.ft.unicamp.br/act-new/wp-content/uploads/sites/33/2022/06/image-211.png)
4– Colocar TradutorYandex1. Ir em “Mídia” > “TradutorYandex”
![](https://liag.ft.unicamp.br/act-new/wp-content/uploads/sites/33/2022/06/image-212.png)
5– Após colocar todos os elemento da tela, vá para Blocos.
6– Ir em Botão1 > escolher “quando Botão1 . Clique”
![](https://liag.ft.unicamp.br/act-new/wp-content/uploads/sites/33/2022/06/image-213.png)
![](https://liag.ft.unicamp.br/act-new/wp-content/uploads/sites/33/2022/06/image-214.png)
7– Ir em TradutorYandex1 > escolher “chama TradutorYandex1 . PedirTradução”
![](https://liag.ft.unicamp.br/act-new/wp-content/uploads/sites/33/2022/06/image-215.png)
![](https://liag.ft.unicamp.br/act-new/wp-content/uploads/sites/33/2022/06/image-216.png)
8– Ir em Texto > escolher o primeiro bloco.
![](https://liag.ft.unicamp.br/act-new/wp-content/uploads/sites/33/2022/06/image-217.png)
![](https://liag.ft.unicamp.br/act-new/wp-content/uploads/sites/33/2022/06/image-218.png)
9– Ir em CaixaDeTexto1 > escolher “CaixaDeTexto1 . Texto”.
![](https://liag.ft.unicamp.br/act-new/wp-content/uploads/sites/33/2022/06/image-220.png)
![](https://liag.ft.unicamp.br/act-new/wp-content/uploads/sites/33/2022/06/image-219.png)
10– Ir em TradutorYandex1 > escolher “quando TradutorYandex1 .
RecebeuTradução”
![](https://liag.ft.unicamp.br/act-new/wp-content/uploads/sites/33/2022/06/image-221.png)
![](https://liag.ft.unicamp.br/act-new/wp-content/uploads/sites/33/2022/06/image-222.png)
11– Ir em CaixaDeTexto1 > escolher “CaixaDeTexto1 . Texto”.
![](https://liag.ft.unicamp.br/act-new/wp-content/uploads/sites/33/2022/06/image-223.png)
![](https://liag.ft.unicamp.br/act-new/wp-content/uploads/sites/33/2022/06/image-224.png)
12– Escolher tradução > “obter tradução”
![](https://liag.ft.unicamp.br/act-new/wp-content/uploads/sites/33/2022/06/image-225.png)
![](https://liag.ft.unicamp.br/act-new/wp-content/uploads/sites/33/2022/06/image-226.png)
13– Após colocar todos os elemento em Blocos, teste o aplicativo.
![](https://liag.ft.unicamp.br/act-new/wp-content/uploads/sites/33/2022/06/image-227.png)