Skip to content

A Ruby Speech Recognition toolkit based on PocketSphinx.

License

Notifications You must be signed in to change notification settings

siegfried/pihsi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pihsi

Gem Version Dependency Status Build Status Coverage Status Inline docs

Pihsi is a Ruby Speech Recognition toolkit based on PocketSphinx.

Installation

Add this line to your application's Gemfile:

gem 'pihsi'

And then execute:

$ bundle

Or install it yourself as:

$ gem install pihsi

Usage

Initialize Pihsi::SpeechRecognizer with proper hmm, lm and dict:

recognizer = Pihsi::SpeechRecognizer.new hmm: 'xxx', lm: 'yyy', dict: 'zzz'

Recognize a string read from your audio file or an object respond to #read (IO object):

recognizer.recognize data

Contributing

  1. Fork it ( https://github.com/siegfried/pihsi/fork )
  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 a new Pull Request

About

A Ruby Speech Recognition toolkit based on PocketSphinx.

Resources

License

Stars

Watchers

Forks

Packages

No packages published