# SpeechToText Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/speech_to_text`. To experiment with that code, run `bin/console` for an interactive prompt. ## Installation Add this line to your application's Gemfile: ```ruby gem 'speech_to_text' ``` And then execute: $ bundle Or install it yourself as: $ gem install speech_to_text ## Usage BigBlueButton provides various captions services. Use following command to access the different services. ```ruby SpeechToText::BBBIbmCaptions.ibm_speech_to_text(,,) SpeechToText::BBBGoogleCaptions.google_speech_to_text(,,,) ``` NOTE: you can use this gemfile only if you have following directory structure. //video where could be any path and should be inside the . Your folder will contain "video" folder which has video.mp4 or video.webm file inside "video" folder. ## Development After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment. To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org). NOTE : After your changes execute this commands 1. Build your gem file : 'gem build speech_to_text.gemspec' 2. Install your gem file : 'gem install speech_to_text-0.1.0.gem' //replace the version number 3. 'bundle install' //optional command ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/speech_to_text. ## License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).