Esempio n. 1
0
 def asr_result(self, asr, text, uttid):
     struct = Gst.Structure("result")
     struct.set_value("hyp", text)
     struct.set_value("uttid", uttid)
     self.debugMsg("asr result: " + text, 0)
     asr.post_message(Gst.message_new_application(asr, struct))
Esempio n. 2
0
	def asr_result(self, asr, text, uttid):
		struct = Gst.Structure("result");
		struct.set_value("hyp", text);
		struct.set_value("uttid", uttid);
		self.debugMsg("asr result: " + text, 0);
		asr.post_message(Gst.message_new_application(asr, struct));