Skip to content

Instantly share code, notes, and snippets.

View neeraj2296's full-sized avatar
💭
I may be slow to respond.

Neeraj Kumar S J neeraj2296

💭
I may be slow to respond.
View GitHub Profile
@neeraj2296
neeraj2296 / next_president.tr
Created September 17, 2020 07:27 — forked from adameubanks/next_president.tr
TrumpScript poem on who will be the next POTUS
say "roses are red"
say "violets are blue"
make president ""
if , "Trump" is president ? ;
say "Trump is in charge, what will we do?" !
else :
say "If Clinton is in charge, wall street is too" !
@neeraj2296
neeraj2296 / speech_recognition_example.py
Created September 17, 2020 07:26 — forked from adameubanks/speech_recognition_example.py
Simple implementation of speech recognition in python
# Install speech_recognition with pip install speech_recognition
# Install pyaudio with pip install pyaudio
# Make sure you look up full instructions for installing pyaudio
import speech_recognition as sr
recognizer = sr.Recognizer()
mic = sr.Microphone()
with mic as source: