zaf / asterisk-speech-recog

Speech recognition script for Asterisk that uses google's speech engine.
GNU General Public License v2.0
247 stars 133 forks source link

It's python, but works for me. #29

Closed poing closed 8 years ago

poing commented 8 years ago

Here's some code that works with the Cloud Speech API BETA. Basic functionality. See the README for additional requirements.

ghost commented 8 years ago

Aaaggh! Thank you! I wish I had noticed this yesterday before I stayed up until midnight making almost the same! Good to know we came to almost identical conclusions but your code is neater 👍

Thank you

poing commented 8 years ago

Glad to hear we reached identical conclusions. How did you handle the AGI connection?

Since the new API is Python, any plan to move this repo away from Perl?

BTW: You can probably close issue #27

ghost commented 8 years ago

Hi @poing - Connection is via pyst2.. I'm still tweaking, but I'll put something up later.

By the way, I'm not @anishm1 :)

poing commented 8 years ago

@lardconcepts, I actually had to fix PYST2. Getting it to pass Japanese back to the dial-plan was painful.

Learning Python was interesting, but think got the hang of it now. Just have to look out for default ASCII issues.

Sorry issue #27 was raised in your repo, thinking you had to close it. Hopefully I answered the question.

zaf commented 8 years ago

Thank you for that, it's not practical tho to migrate to another language. So I will not merge it. I have implemented Cloud Speech API support in a new branch named cloud_api.