[asterisk-users] Speech recognition in asterisk using google voice API

Lefteris Zafiris zaf.000 at gmail.com
Wed Jan 4 13:14:22 CST 2012


On Wed, Jan 4, 2012 at 8:47 PM, Michelle Dupuis <mdupuis at ocg.ca> wrote:
> Wow - nice!  A few quick questions:
>
> 1.  How long can the recording be for translation?
At the moment the recording timeout is set at 15sec. I haven't tested
yet the max
length  of voice data ta google accepts (all this voice recognition
stuff is undocumented).
I have read that it is between 10-20 seconds but havent really went to
test this yet. On my todo list is
to add the option to cut the sound data in smaller chunks before
sending them to google and get rid of the
recording length limitations.

> 2.  Any limitation on how much text the return (transcribed) variable can
> hold?
This better be answered by the astsrisk devs but empirically talking i
have loaded in dialplan variables really big
chunks of text (like the complete gpl license) without having any problems.

> 3.  Any commercial / terms of use limitations?
This is a gray area at the moment. Voice recognition is undocumented
in google's API and i guess not
officially supported yet. I hope it gets covered by the general TOS of
google services:
 http://www.google.com/accounts/TOS

----------------
Lefteris Zafiris



More information about the asterisk-users mailing list