We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 870f538 commit 8b1eb6cCopy full SHA for 8b1eb6c
gst/livedemo.py
@@ -50,7 +50,8 @@ def init_gui(self):
50
def init_gst(self):
51
"""Initialize the speech components"""
52
self.pipeline = gst.parse_launch('autoaudiosrc ! audioconvert ! audioresample '
53
- + '! pocketsphinx ! fakesink')
+ '! pocketsphinx ! fakesink')
54
+# '! pocketsphinx hmm=../model/en-us/en-us lm=../model/en-us/en-us.lm.bin dict=../model/en-us/cmudict-en-us.dict ! fakesink')
55
bus = self.pipeline.get_bus()
56
bus.add_signal_watch()
57
bus.connect('message::element', self.element_message)
0 commit comments