wit-ai / wit-ios

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

Speech to Text longer than 10 seconds #87

Closed iUPDev closed 5 years ago

iUPDev commented 5 years ago

myspeech.zip

We noted that there are problems with the "conversion service - speech to text" when the audio file are longer than 10 seconds.

Enclosed (myspeech.zip file) you can find two simple WAV files that we use to understand the process to communicate with Wit service and to perform some tests.

The first one have a duration of 8 seconds, and with this we have not met any kind of issue, here below you can find the output we received from your server: MacBook-Pro-di-*:~ ****$ cd '/Progetti Personali/Phyton Tutorial/' && '/usr/local/bin/pythonw' '/Progetti Personali/Phyton Tutorial/Recognize.py' && echo Exit status: $? && exit 1 {u'entities': {}, u'msg_id': u'1SMUC8cFg6VWTGtQ0', u'_text': u'prova prova Proviamo questa registrazione per vedere se funziona Arrivederci e grazie E quanto cazz'}

The second one has instead a duration of 18 seconds, and with this audio we always receive this error alert: MacBook-Pro-di-*:~ ****$ cd '/Progetti Personali/Phyton Tutorial/' && '/usr/local/bin/pythonw' '/Progetti Personali/Phyton Tutorial/Recognize.py' && echo Exit status: $? && exit 1 {u'code': u'wit', u'error': u"Something went wrong. We've been notified."}

Could someone kindly help us? P.s. Of course we are totally available to share others information if needed. Many thanks.