Class: Pocketsphinx::LiveSpeechRecognizer

Inherits:
SpeechRecognizer show all
Defined in:
lib/pocketsphinx/live_speech_recognizer.rb

Overview

High-level class for live speech recognition.

Modeled on the LiveSpeechRecognizer from Sphinx4.

Constant Summary

Constants inherited from SpeechRecognizer

SpeechRecognizer::ALGORITHMS

Instance Attribute Summary

Attributes inherited from SpeechRecognizer

#configuration, #decoder

Instance Method Summary collapse

Methods inherited from SpeechRecognizer

#algorithm, #in_speech?, #initialize, #pause, #recognize, #recognizing?, #reconfigure, #start, #stop

Constructor Details

This class inherits a constructor from Pocketsphinx::SpeechRecognizer

Instance Method Details

#recordableObject



6
7
8
# File 'lib/pocketsphinx/live_speech_recognizer.rb', line 6

def recordable
  @recordable ||= Microphone.new
end