wit-ai / wit-ios

Wit.ai iOS client
Other
222 stars 71 forks source link

Slow result times with speech recognition #49

Closed burkaygur closed 7 years ago

burkaygur commented 9 years ago

Getting a speech to text result from the backend has increased significantly. I am measuring about 6-7 seconds for a given query vs. the 1-2 second query response time from the Nuance SDK. Any ideas why? Does the SDK stream the audio real time as its recording it? Looks like it is, so I cannot figure out why the results would be so slow...

l5t commented 9 years ago

Thanks for reporting. You're right. The latency of the speech API has increased since our maintenance. We are investigating and will report back asap. Sorry for the inconvenience this may cause.

burkaygur commented 9 years ago

Thank you very much! Looking forward to it, as I have some production apps in the pipeline waiting to be released.

burkaygur commented 9 years ago

I have been testing api.ai and Nuance SDK. I get results almost immediately. Any estimates on when I should test wit.ai STT again?

l5t commented 9 years ago

I would say in 2-3 weeks.

burkaygur commented 9 years ago

Looking forward to it! I will check back next week.

burkaygur commented 9 years ago

Just did another test. Still extremely slow. Any updates?

l5t commented 9 years ago

Hi, We pushed a fix this afternoon that should improve the response time. Can you test again when you have time and report if you see improvement? Thanks Laurent

burkaygur commented 9 years ago

Last time I checked there was no observable difference. Around 5-7 seconds with WiFi.

alexanderkjeldaas commented 7 years ago

What's the status of this?

hactar commented 7 years ago

The current sdk version has made improvements to speech recognition time by using a different encoding in low bandwidth mode, and using iOS built in speech recognition in iOS 10. Closing, please reopen if the issue persists.