Skip to content

Translator App made with socket programming for language detection

Notifications You must be signed in to change notification settings

moreharsh/Translator-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Translator App

Aim:

To create an app, which can take input as user’s voice and translate it into the desired language, and finally provide translated voice as output.

Objectives:

  • Take input voice of user
  • Send input for language detection
  • Option menu for language selection
  • Translate the input speech into the selected language
  • Give the output voice of the translated input voice

Project Overview:

The android application which will translate text of one language into another. Using Android Studio and Java the android application was built, Firebase API called one-device translation used to translate text from one language to other desired language of users choice. Three buttons are present at the bottom, where the 'SPEAK' button will take voice as input, the 'TRANSLATE' button is used to translate text into selected language from the given list. On clicking the 'SAY IT!' button the translated text will be given in voice format. Now coming towards the top section, there exists two buttons to start connection with the python server. And other button will send data to the server. The server is made with python, concept of socket programming was implemented to eastablish connection between client and server. Natural Language Processing (NLP) was used to create language detecting model, the same model was extracted in the pckl format and used on the server to detect the language of text collected from the application. After detecting the language respective output was given back to the application in the form of response. This application can even work in offline mode, and translate text of 5 different languages.

Languages:

  • English
  • German
  • French
  • Marathi
  • Hindi

Technology Stack:

Following is the technology stack for:
  • App - Java, Android Studio
  • Firebase - One-device translation API
  • Server - Python + Jupyter

Navigation:

Following are the navigations for:
  • language_detection/ - contains data of various languages and jupyter notebook with language detection python code
  • socket_programmin/ - contains the pckl file of language detecting model and jupyter notebook for connection between server and client
  • translator_app/ - contains the android files
  • video/ - contains the video of working of the whole project
  • media/ - conatins banner image and results

GitHub Link:

https://github.com/more-harsh/Translator-App

Results:

App layout

Speak Button Clicked


Client Server


Client Server



About

Translator App made with socket programming for language detection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published