Skip to content

Instantly share code, notes, and snippets.

View OtavioJFOliveira's full-sized avatar

OtavioJFOliveira

View GitHub Profile
@mertyildiran
mertyildiran / google_speech_api.py
Created March 14, 2016 16:41
Google Speech API example
#!/usr/bin/env python3
# pip install SpeechRecognition
# https://pypi.python.org/pypi/SpeechRecognition/
# recognizer_instance.recognize_google(audio_data, key = None, language = "en-US", show_all = False)
# Performs speech recognition on audio_data (an AudioData instance), using the Google Speech Recognition API.
# The Google Speech Recognition API key is specified by key. If not specified, it uses a generic key that works out of the box.
# This should generally be used for personal or testing purposes only, as it may be revoked by Google at any time.