DhanushNehru / Python-Scripts

A curated list of python scripts for automating your tasks
https://dhanushnehru.github.io/Python-Scripts/
MIT License
560 stars 262 forks source link

added Interactive Dictionary #287

Closed Deepikakolli4 closed 1 month ago

Deepikakolli4 commented 1 month ago

PR Title

Interactive Dictionary(#275)

Summary

The text definition of the input in the console. An audio pronunciation of the word or phrase played back to the user. This can be accomplished using a dictionary API (like the Oxford Dictionary API or Merriam-Webster) to retrieve the meaning, and a text-to-speech library (like gTTS or pyttsx3) to generate the audio.

Description

User Input: Use input() to take a string from the user. API Call: Query a dictionary API to get the definition of the string. Text-to-Speech: Use gTTS to convert the definition into audio and play it back. Output: Print the definition to the console for easy reference. This could be a useful tool for students, language learners, or anyone looking to expand their vocabulary quickly.

Thank You,

Deepikakolli4

Deepikakolli4 commented 1 month ago

hey @DhanushNehru Check it once . will you label as hacktoberfest2024 and as well as accepted.

Deepikakolli4 commented 1 month ago

Updated the Readme.md list of python scripts in alphabetical order