Skip to main content

Simple way to access google api for speech recognition with python

Dependencies

  • sox - apt-get install sox

  • pyaudio - apt-get install python-pyaudio

Links:

Usage

Example:

from pygsr import Pygsr
speech = Pygsr()
speech.record(3) # duration in seconds (3)
phrase, complete_response = speech.speech_to_text('es_ES') # select the language
print phrase

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygsr-0.1.tar.gz (14.4 kB view details)

Uploaded Source

File details

Details for the file pygsr-0.1.tar.gz.

File metadata

  • Download URL: pygsr-0.1.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pygsr-0.1.tar.gz
Algorithm Hash digest
SHA256 0f205b76cbb6bebd4faf5c743973b25e344c89e4dc5dbb907424cb72c576094f
MD5 993b3cdb6651d05a250963bf423909d1
BLAKE2b-256 d61a4d495835241ab9a1a7e549a54e93cc8b1a69583cbf19a27f79f2b579b721

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page