backmeupplz / voicy

@voicybot Telegram bot main repository
https://voicybot.com
MIT License
893 stars 160 forks source link

THIS IS NOT AN ISSUE #16

Closed pooyasa closed 5 years ago

pooyasa commented 5 years ago

Hi First of all, I'm sorry that I'm taking your time. This is not really an issue with this bot, it's a question I had. The thing is, this bot supports Persian STT but the problem is when I try wit.ai as an API for my project, this is the response I get:

{ "error" : "Speech recognition is not supported for language: Persian", "code" : "bad-request" }

I'm using POST method for speech using the following command in terminal:

curl -XPOST 'https://api.wit.ai/speech?v=20170307' -i -L -H "Authorization: Bearer $MYTOKEN" -H "Content-Type: audio/mpeg3" --data-binary "@sample.mp3"

I just replace $MYTOKEN with my real token that I got in the app. so my question is, how did you do that?

backmeupplz commented 5 years ago

It's better to address these questions to Wit :)