Class: Pocketsphinx::LiveSpeechRecognizer
- Inherits:
-
SpeechRecognizer
- Object
- SpeechRecognizer
- Pocketsphinx::LiveSpeechRecognizer
- 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
Instance Attribute Summary
Attributes inherited from SpeechRecognizer
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
#recordable ⇒ Object
6 7 8 |
# File 'lib/pocketsphinx/live_speech_recognizer.rb', line 6 def recordable @recordable ||= Microphone.new end |