Hi,
I am getting a very annoying error which I am failing to grasp why it is happening. I have already had to tweak the code to get it running which could of had an effect but I don't see why. It obviously happens why I try to trigger Jasper by saying "Jasper".
Error:
TypeError: 'Hypothesis' object does not support indexing
In stt.py
try:
recognition = r.json()['Recognition']
if recognition['Status'] != 'OK':
raise ValueError(recognition['Status'])
results = [(x['Hypothesis'], x['Confidence'])
for x in recognition['NBest']]
Running on Debian - Jessie.
Maybe it is the Python version I am using? 2.7.12
Big thanks for any kind of help people can give!
Tom