Public Member Functions | |
| def | __init__ |
| def | application_message |
| def | asr_partial_result |
| def | asr_result |
| def | final_result |
| def | partial_result |
| def | shutdown |
| def | start |
| def | stop |
Public Attributes | |
| pipeline | |
| pub | |
GStreamer based speech recognizer.
Definition at line 31 of file recognizer.py.
| def recognizer.recognizer.__init__ | ( | self | ) |
Initialize the speech pipeline components.
Definition at line 34 of file recognizer.py.
| def recognizer.recognizer.application_message | ( | self, | |
| bus, | |||
| msg | |||
| ) |
Receive application messages from the bus.
Definition at line 106 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 92 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 99 of file recognizer.py.
| def recognizer.recognizer.final_result | ( | self, | |
| hyp, | |||
| uttid | |||
| ) |
Insert the final result.
Definition at line 118 of file recognizer.py.
| def recognizer.recognizer.partial_result | ( | self, | |
| hyp, | |||
| uttid | |||
| ) |
Delete any previous selection, insert text and select it.
Definition at line 114 of file recognizer.py.
| def recognizer.recognizer.shutdown | ( | self | ) |
Shutdown the GTK thread.
Definition at line 78 of file recognizer.py.
| def recognizer.recognizer.start | ( | self, | |
| req | |||
| ) |
Definition at line 82 of file recognizer.py.
| def recognizer.recognizer.stop | ( | self, | |
| req | |||
| ) |
Definition at line 86 of file recognizer.py.
Definition at line 34 of file recognizer.py.
Definition at line 34 of file recognizer.py.