Now the Kaylee object handles the invalid_sentence_command as well. It does this by having the last handler for the recognizer's 'finished' signal. If this handler is ever run, the voice command was obviously not wanted by any of the plugins, so the invalid_sentence_command should be run. Also, I fixed the UIs to work as before. It's a temporary fix!
|
|
||
73 |
|
73 |
|
74 |
|
74 |
|
75 |
|
75 |
|
|
76 |
|
|
76 |
|
77 |
|
77 |
|
78 |
|
78 |
|
79 |
|
|
|
||
127 |
|
128 |
|
128 |
|
129 |
|
129 |
|
130 |
|
|
131 |
|
|
|
132 |
|
|
|
133 |
|
|
|
134 |
|
|
|
135 |
|
|
|
136 |
|
|
|
137 |
|
|
|
138 |
|
|
|
139 |
|
|
|
140 |
|
|
|
141 |
|
|
|
142 |
|
|
|
143 |
|
|
|
144 |
|
|
|
145 |
|
|
|
146 |
|
|
|
147 |
|
|
|
148 |
|
|
|
149 |
|
|
130 |
|
150 |
|
131 |
|
151 |
|
132 |
|
152 |
|
|
|
||
38 |
|
38 |
|
39 |
|
39 |
|
40 |
|
40 |
|
|
41 |
|
|
41 |
|
42 |
|
42 |
|
43 |
|
43 |
|
44 |
|
|
|
||
45 |
|
46 |
|
46 |
|
47 |
|
47 |
|
48 |
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
49 |
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
|
|