Skip to main content

Library for performing speech recognition with Baidu Speech Recognition API.

Project description

PyBaiduYuyin

This project is a wrapper for Baidu Yuyin(voice) API

This project is modified from SpeechRecognition, which is published under the 3-clause BSD license.

Requirement

  • PyAudio

Install

$ pip install PyBaiduYuyin

Usage

Note: I’m still working on this part, contributions are welcomed.

TTS (Text-To-Speech)

Details can be found in source code.

Example:

import PyBaiduYuyin as pby
tts = pby.TTS(app_key=YOUR_APP_KEY, secret_key=YOUR_SECRET_KEY)
tts.say("你好")

Recognition

The usage of Recognition module is same as SpeechRecognition, except using Baidu App Key and Baidu Secret Key instead of Google App Key.

Please see SpeechRecognition’s README for details.

LICENSE

Copyright (c) 2015-2016 Changxu Wang

The source code is available online at GitHub.

This program is made available under MIT License, see LICENSE.txt for details.

Project details


Download files

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

Source Distribution

BaiduYuyin-0.1.1.tar.gz (824.8 kB view details)

Uploaded Source

File details

Details for the file BaiduYuyin-0.1.1.tar.gz.

File metadata

  • Download URL: BaiduYuyin-0.1.1.tar.gz
  • Upload date:
  • Size: 824.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for BaiduYuyin-0.1.1.tar.gz
Algorithm Hash digest
SHA256 740d8ceb1a2bb4db6c77dd9a6d4961c1af9dfa97108eab17f6cd5ef7a6da5bbb
MD5 664f1d7d5ee3e1b9eb7981f71e716510
BLAKE2b-256 1ce09a5f1b06a365d17e6aeb93159e5fcaa2a81805b6d02dd4667fc7ddb2accb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page