Professional Documents
Culture Documents
VIDHYA MANDHIR
COMPUTER SCIENCE PROJECT
On
Python Translator
Academic Session 2022-23
Vidhya Mandhir has completed the PROJECT during the academic year
practical evaluation of
1 Abstract 5
2 Introduction 6
3 Translator 8
application
4 Hardware 11
requirements
5 Modules 12
6 Flow diagram 13
7 Advantages 14
8 Disadvantages 15
9 Source Code 16
10 Output 19
11 Conclusion 20
12 Reference 21
ABSTRACT
for translating texts between multiple languages in real time with high
quality. Languages are separate modules in the tool and can be varied;
with the same roots) which are divided into about thirteen main
groups:
When people started to move around, they realized that they could not
always communicate with others as they wished. So the need for
interpreters arose, and with the advent of writing the need for translators.
There are many ways to translate from one language to another. The easiest
way seems to be to translate one word for another and see what happens.
Unfortunately, it’s not as simple as that. Who hasn’t tried to translate a text
using an automatic translator on the Internet? Those who have, can confirm
that the result is not always understandable. No matter how well
programmed a machine is, it will never be able to convey the facets and
emotions of a text written by a person. The human factor is missing, hence
the need for a translator. Languages are of strategic importance to people
and the planet and play a vital role in development. They are a guarantee of
cultural diversity and intercultural dialogue, (2) and a means of achieving
quality education for all, strengthening cooperation, building inclusive
knowledge societies, preserving cultural heritage and mobilizing political
will to apply the benefits of science and technology for sustainable
development.
Translator Application
1.Technical translation
If businesses want to access the global audience, they must
translate all their technical documents into the languages of their
target areas. This is when the technical translation services are
required. Technical translation involves translating documents
produced by technical writers, or any other content related to
scientific and technological subjects. To avoid any errors,
companies must take the help of professional translators who have
the required expertise and knowledge of different technical terms,
both in the source and target languages. In doing so, this reduces
any misunderstanding with respect to the documents and the
subsequent effects associated with them.
2.Language translation in healthcare
MOTHERBOARD-lenovo mahobay
RAM-8GB ddr3
Windows OS
Python IDLE
Pyaudio
Googletrans
Speech recognition
gtts
Flow Diagram
Advantages
import os
recog1 = spr.Recognizer()
mc = spr.Microphone()
with mc as source:
print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~")
recog1.adjust_for_ambient_noise(source, duration=0.2)
audio = recog1.listen(source)
MyText = recog1.recognize_google(audio)
MyText = MyText.lower()
if 'hello' in MyText:
translator = Translator()
from_lang = 'en'
to_lang = 'hi'
with mc as source:
print("Speak a stentence...")
recog1.adjust_for_ambient_noise(source, duration=0.2)
audio = recog1.listen(source)
get_sentence = recog1.recognize_google(audio)
try:
text = text_to_translate.text
speak.save("captured_voice.mp3")
os.system("start captured_voice.mp3")
except spr.UnknownValueError:
except spr.RequestError as e:
This has been a very interesting project and as you can see there is more
opportunities for further research to be established. If we are to provide a
reason for the differences for a translator performance, it could come down
to the user base rating system found in google translator. In conclusion this
program is created to make people more knowledgeable, reduce
miscommunication among people all around the world, connects people
and for more specicfically this program was created to connect visually
impaired people with normal people.
Reference
With the help of my csc teacher.
Preethi Arora(Class12th)
https://www.geeksforgeeks.org/language-translator- using-google-apiin-
python/
Youtube.com