Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | List of all members
mycroft.client.speech.word_extractor.WordExtractor Class Reference

Public Member Functions

def __init__ (self, audio, recognizer, metrics)
 
def calculate_range (self)
 
def get_audio_data_after (self)
 
def get_audio_data_before (self)
 

Static Public Member Functions

def create_silence (seconds, sample_rate, sample_width)
 

Public Attributes

 audio
 
 audio_size
 
 begin
 
 delta
 
 end
 
 metrics
 
 precision
 
 recognizer
 
 silence_data
 

Static Public Attributes

float PRECISION_RATE = 0.01
 
float SILENCE_SECS = 0.1
 

Private Member Functions

def __add (self, is_begin, value)
 
def __calculate_marker (self, is_begin)
 

Detailed Description

Definition at line 18 of file word_extractor.py.

Constructor & Destructor Documentation

def mycroft.client.speech.word_extractor.WordExtractor.__init__ (   self,
  audio,
  recognizer,
  metrics 
)

Definition at line 22 of file word_extractor.py.

Member Function Documentation

def mycroft.client.speech.word_extractor.WordExtractor.__add (   self,
  is_begin,
  value 
)
private

Definition at line 35 of file word_extractor.py.

def mycroft.client.speech.word_extractor.WordExtractor.__calculate_marker (   self,
  is_begin 
)
private

Definition at line 41 of file word_extractor.py.

def mycroft.client.speech.word_extractor.WordExtractor.calculate_range (   self)

Definition at line 53 of file word_extractor.py.

def mycroft.client.speech.word_extractor.WordExtractor.create_silence (   seconds,
  sample_rate,
  sample_width 
)
static

Definition at line 58 of file word_extractor.py.

def mycroft.client.speech.word_extractor.WordExtractor.get_audio_data_after (   self)

Definition at line 66 of file word_extractor.py.

def mycroft.client.speech.word_extractor.WordExtractor.get_audio_data_before (   self)

Definition at line 61 of file word_extractor.py.

Member Data Documentation

mycroft.client.speech.word_extractor.WordExtractor.audio

Definition at line 23 of file word_extractor.py.

mycroft.client.speech.word_extractor.WordExtractor.audio_size

Definition at line 25 of file word_extractor.py.

mycroft.client.speech.word_extractor.WordExtractor.begin

Definition at line 27 of file word_extractor.py.

mycroft.client.speech.word_extractor.WordExtractor.delta

Definition at line 26 of file word_extractor.py.

mycroft.client.speech.word_extractor.WordExtractor.end

Definition at line 28 of file word_extractor.py.

mycroft.client.speech.word_extractor.WordExtractor.metrics

Definition at line 33 of file word_extractor.py.

mycroft.client.speech.word_extractor.WordExtractor.precision

Definition at line 29 of file word_extractor.py.

float mycroft.client.speech.word_extractor.WordExtractor.PRECISION_RATE = 0.01
static

Definition at line 20 of file word_extractor.py.

mycroft.client.speech.word_extractor.WordExtractor.recognizer

Definition at line 24 of file word_extractor.py.

mycroft.client.speech.word_extractor.WordExtractor.silence_data

Definition at line 30 of file word_extractor.py.

float mycroft.client.speech.word_extractor.WordExtractor.SILENCE_SECS = 0.1
static

Definition at line 19 of file word_extractor.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