We often don’t remember the day of the date due to our load of work we are doing. So, here is a Python program with the help of which we can find the day of the date with just a simple chat with our laptop or mobile.
- DateTime: This is a Library in Python with the help of which we can manipulate the date and time. It comes preinstalled with python so we don’t have to install.
- pyttsx3: This is text to speech conversion library. It helps in communicating with the user. This module does not come built-in with Python. To install it type the below command in the terminal.
pip install pyttsx3
- SpeechRecognition: It helps in Speech Recognition. Speech recognition is the process of converting audio into text. This module does not come built-in with Python. To install it type the below command in the terminal.
pip install SpeechRecognition
Now Let’s Code The program for telling date with the help of Speech Recognition.
Step 1: Make the method for taking the commands. So that our program can take our commands.
Step 2: Make the Speak method so that our Program can speak to us.
Step 3: Tell the day method
Step 4: The main method which will help us to execute the program
Listening Recognizing the query is printed=' today's day ' Wednesday
Note: A voice generated output is also created.
- Speech Recognition in Python using Google Speech API
- Python: Convert Speech to text and text to Speech
- Python | Speech recognition on large audio files
- Restart your Computer with Speech Recognition
- Convert Text to Speech in Python using win32com.client
- Part of Speech Tagging with Stop words using NLTK in python
- Python | Part of Speech Tagging using TextBlob
- Python | Text to Speech by using pyttsx3
- Text to speech GUI convertor using Tkinter in Python
- Get parent of current directory using Python
- Get current date using Python
- Get current time in milliseconds using Python
- Get Current Date and Time using Python
- Get Current Time in different Timezone using Python
- Get current Gold price using Python
- Get current timestamp using Python
- Google Chrome Dino Bot using Image Recognition | Python
- Python | Named Entity Recognition (NER) using spaCy
- Python | Reading contents of PDF using OCR (Optical Character Recognition)
- Python | Multiple Face Recognition using dlib
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.