https://github.com/guyisra/annyang_rails
Asset pipeline wrapper for Annyang.js - speech recognition with javascript
https://github.com/guyisra/annyang_rails
Last synced: 11 months ago
JSON representation
Asset pipeline wrapper for Annyang.js - speech recognition with javascript
- Host: GitHub
- URL: https://github.com/guyisra/annyang_rails
- Owner: guyisra
- License: mit
- Created: 2013-09-16T08:43:06.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-06-03T06:44:17.000Z (about 12 years ago)
- Last Synced: 2024-04-24T14:58:20.287Z (about 2 years ago)
- Language: JavaScript
- Size: 156 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# AnnyangRails
Adds speech recoginition with annyang.js via asset pipeline for rails 3.1+
## Installation
Add this line to your application's Gemfile:
gem 'annyang_rails'
add to application.js manifest
//= require annyang
And then execute:
$ bundle
Or install it yourself as:
$ gem install annyang_rails
## Usage
if (annyang) {
// Let's define a command.
var commands = {
'show tps report': function() { $('#tpsreport').show(); }
};
// Initialize annyang with our commands
annyang.init(commands);
// Start listening.
annyang.start();
}
see https://www.talater.com/annyang/ for more stuff
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request