Public Member Functions | Public Attributes | List of all members
mycroft.client.speech.hotword_factory.PocketsphinxHotWord Class Reference
Inheritance diagram for mycroft.client.speech.hotword_factory.PocketsphinxHotWord:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, key_phrase="hey mycroft", config=None, lang="en-us")
 
def create_config (self, dict_name, config)
 
def create_dict (self, key_phrase, phonemes)
 
def found_wake_word (self, frame_data)
 
def transcribe (self, byte_data, metrics=None)
 
- Public Member Functions inherited from mycroft.client.speech.hotword_factory.HotWordEngine
def __init__ (self, key_phrase="hey mycroft", config=None, lang="en-us")
 
def found_wake_word (self, frame_data)
 
def stop (self)
 
def update (self, chunk)
 

Public Attributes

 decoder
 
 num_phonemes
 
 phonemes
 
 sample_rate
 
 threshold
 
- Public Attributes inherited from mycroft.client.speech.hotword_factory.HotWordEngine
 config
 
 key_phrase
 
 lang
 
 listener_config
 
 num_phonemes
 

Detailed Description

Definition at line 73 of file hotword_factory.py.

Constructor & Destructor Documentation

def mycroft.client.speech.hotword_factory.PocketsphinxHotWord.__init__ (   self,
  key_phrase = "hey mycroft",
  config = None,
  lang = "en-us" 
)

Definition at line 74 of file hotword_factory.py.

Member Function Documentation

def mycroft.client.speech.hotword_factory.PocketsphinxHotWord.create_config (   self,
  dict_name,
  config 
)

Definition at line 96 of file hotword_factory.py.

def mycroft.client.speech.hotword_factory.PocketsphinxHotWord.create_dict (   self,
  key_phrase,
  phonemes 
)

Definition at line 87 of file hotword_factory.py.

def mycroft.client.speech.hotword_factory.PocketsphinxHotWord.found_wake_word (   self,
  frame_data 
)

Definition at line 118 of file hotword_factory.py.

def mycroft.client.speech.hotword_factory.PocketsphinxHotWord.transcribe (   self,
  byte_data,
  metrics = None 
)

Definition at line 109 of file hotword_factory.py.

Member Data Documentation

mycroft.client.speech.hotword_factory.PocketsphinxHotWord.decoder

Definition at line 85 of file hotword_factory.py.

mycroft.client.speech.hotword_factory.PocketsphinxHotWord.num_phonemes

Definition at line 80 of file hotword_factory.py.

mycroft.client.speech.hotword_factory.PocketsphinxHotWord.phonemes

Definition at line 79 of file hotword_factory.py.

mycroft.client.speech.hotword_factory.PocketsphinxHotWord.sample_rate

Definition at line 82 of file hotword_factory.py.

mycroft.client.speech.hotword_factory.PocketsphinxHotWord.threshold

Definition at line 81 of file hotword_factory.py.


The documentation for this class was generated from the following file:


mycroft_ros
Author(s):
autogenerated on Mon Apr 26 2021 02:35:40