No commit activity in last 3 years
No release in over 3 years
Client for the Voice Recognition service of Bing
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.13
~> 5.0
~> 10.0

Runtime

~> 0.14
 Project Readme

VoiceRecognitionBing

This gem uses the Microsoft Bing Voice Recognition API to transcribe and synthesize voice queries.

Installation

Add this line to your application's Gemfile:

gem 'voice_recognition_bing'

And then execute:

$ bundle

Or install it yourself as:

$ gem install voice_recognition_bing

Configuration

To use this gem you need a subscription_key for Bing Speech API that can be found for free on the Microsoft Cognitive Services website

Usage

Configure the subscription key for the gem as follows:

VoiceRecognitionBing.configure do |config|
  config.subscription_key = "my subscription key"
end

To process a file the content must be stringified and a credentials object created:

credentials = VoiceRecognitionBing::Authorization.credentials
text = VoiceRecognitionBing::Service.recognize("file content", credentials)

You can find an usage example here: web api example

License

The gem is available as open source under the terms of the MIT License.

Build Status