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 |
GStreamer based speech recognizer.
Definition at line 36 of file recognizer.py.
def recognizer.recognizer.__init__ | ( | self | ) |
Definition at line 39 of file recognizer.py.
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.
def recognizer.recognizer.shutdown | ( | self | ) |
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.
def recognizer.recognizer.start_recognizer | ( | self | ) |
Definition at line 77 of file recognizer.py.
def recognizer.recognizer.stop | ( | self, | |
req | |||
) |
Definition at line 138 of file recognizer.py.
def recognizer.recognizer.stop_recognizer | ( | self | ) |
Definition at line 117 of file recognizer.py.
Definition at line 39 of file recognizer.py.
recognizer.recognizer::_dic_param [private] |
Definition at line 39 of file recognizer.py.
recognizer.recognizer::_lm_param [private] |
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.