googleTranslatorEngine
module use Google Translator
API in python
. This module receive text to translate with YARP
port, send request to Google Translator
server and publish results with YARP
port.
Documentation available on docs
googleTranslatorEngine
requires text like input.
The process to running the program:
- Execute programs/googleTranslatorEngine.py, to start de program.
python googleTranslatorEngine.py
- Connect data source.
yarp connect /yourport/data:o /googleTranslatorEngine/data:i
NOTE:
- Data results are published on
/googleTranslatorEngine/data:o
googleTranslatorEngine
requires:
- Install YARP 2.3.XX+
- Install pip
- Install Google Translator:
pip install googletrans
Tested on: windows 10
, ubuntu 14.04
, ubuntu 16.04
, ubuntu 18.04
, lubuntu 18.04
and raspbian
.