Command line app that can translate text
This was created initially to be submitted to Topcoder Development Practice Challenge.
Clone the repository
git clone https://github.com/Rishav-12/translation-app.git
Of course, you need to have Go installed on your machine.
Run
go build main.go
to create the executable
Use the following command
./main [source language] [target language] [query text]
For example
./main en de "good morning"
gives the output
[map[backend:1 orig:good morning trans:Guten Morgen] map[src_translit:ɡo͝od ˈmôrniNG]]
As we can see, we get the translation as "Guten Morgen".