Public Member Functions | Public Attributes | Private Attributes
recognizer.recognizer Class Reference

List of all members.

Public Member Functions

def __init__
def application_message
def asr_partial_result
def asr_result
def final_result
def partial_result
def pulse_index_from_name
def shutdown
def start
def start_recognizer
def stop
def stop_recognizer

Public Attributes

 asr
 bus
 bus_id
 device_index
 device_name
 launch_config
 pipeline
 pub
 started

Private Attributes

 _device_name_param
 _dic_param
 _lm_param

Detailed Description

GStreamer based speech recognizer. 

Definition at line 36 of file recognizer.py.


Constructor & Destructor Documentation

Definition at line 39 of file recognizer.py.


Member Function Documentation

def recognizer.recognizer.application_message (   self,
  bus,
  msg 
)
Receive application messages from the bus. 

Definition at line 157 of file recognizer.py.

def recognizer.recognizer.asr_partial_result (   self,
  asr,
  text,
  uttid 
)
Forward partial result signals on the bus to the main thread. 

Definition at line 143 of file recognizer.py.

def recognizer.recognizer.asr_result (   self,
  asr,
  text,
  uttid 
)
Forward result signals on the bus to the main thread. 

Definition at line 150 of file recognizer.py.

def recognizer.recognizer.final_result (   self,
  hyp,
  uttid 
)
Insert the final result. 

Definition at line 169 of file recognizer.py.

def recognizer.recognizer.partial_result (   self,
  hyp,
  uttid 
)
Delete any previous selection, insert text and select it. 

Definition at line 165 of file recognizer.py.

def recognizer.recognizer.pulse_index_from_name (   self,
  name 
)

Definition at line 109 of file recognizer.py.

Delete any remaining parameters so they don't affect next launch 

Definition at line 124 of file recognizer.py.

def recognizer.recognizer.start (   self,
  req 
)

Definition at line 133 of file recognizer.py.

Definition at line 77 of file recognizer.py.

def recognizer.recognizer.stop (   self,
  req 
)

Definition at line 138 of file recognizer.py.

Definition at line 117 of file recognizer.py.


Member Data Documentation

Definition at line 39 of file recognizer.py.

Definition at line 39 of file recognizer.py.

Definition at line 39 of file recognizer.py.

Definition at line 77 of file recognizer.py.

Definition at line 77 of file recognizer.py.

Definition at line 77 of file recognizer.py.

Definition at line 39 of file recognizer.py.

Definition at line 39 of file recognizer.py.

Definition at line 39 of file recognizer.py.

Definition at line 77 of file recognizer.py.

Definition at line 39 of file recognizer.py.

Definition at line 39 of file recognizer.py.


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


pocketsphinx
Author(s): Michael Ferguson
autogenerated on Fri Feb 12 2016 00:03:14