So you can spend a bundle on a new phone and it comes with a voice-activated digital assistant. But let’s be honest, it’s much more satisfying if you coded up this feature yourself. Here’s a guide on doing just that by combining an Asterisk server with the Wolfram Alpha API.
Asterisk is a package we are already familiar with. It’s an open source Private Branch Exchange suite that lets you build your own telephone network. Chances are, you’re not going to build one just for this project, but if you do make sure to document the process and let us know about it. With the Asterisk server in place you just need to give the assistant script an extension (in this case it’s 4747).
But then there’s the problem of translating your speech into text which can be submitted as a Wolfram query. There’s an API for that too which uses Google to do that translation. From there you can tweak abbreviations and other parameters, but all-in-all your new assistant is ready to go. Call it up and ask what to do when you have a flat tire (yeah, that commercial drives us crazy too).
[Thanks M]
Read the whole thing and my code-fu isn’t up to the game…sadly enough.
How about so code-sensei out here to take that and implement it as an app? market it at 5$ and I’ll buy it,anyone else?
Wolframalpha is a great ressource and it can even decode a genetic sequence on the fly,how awesome is that =P
Now replace speech recognition with OCR and make the Bus Pants Utilization real – we’re not far away anymore!
Silly man, a bus doesn’t wear pants :P
incorrect. Vesa local bus was pants, but that was in the far-distant past.
Not much expertise is necessary to get this working. PBX in a Flash is a turnkey install from an ISO. It takes about an hour on virtually any PC or virtual machine. The one-click Wolfram Alpha installer adds an interface to Wolfram Alpha by dialing 4747 from any phone connected to the PBX. The install takes under a minute.
P.S.For those new to PBX in a Flash, we should probably mention that you also get unlimited, free calling in the U.S. and Canada with Google Voice as part of the PBX in a Flash install. It’s all free!
Hey chief, thanks for the heads up :) I’m gonna give it a shot this evening. You should write it up and submit it. It would save some folks a lot of time and headaches if it works like it looks :) Thanks again Nerd Uno.
I wonder how hard it would be to set this up in Twilio. I’ll have to take a look at the code and see! :-)
Hate to be the kill joy in this roundabout hacking…but there’s already a [number of] Wolfram alpha Apps with Googles speech-to-text… Or am I missing something?
Agreed Google Voice Serach that is built-in to android works with the official wolfram alpha app. are they talking about using astrik on a PC to use the website. If that is so why even bother talking about a ifone app. also how the heck is wolfram going to tie into my calendar or txt messages. this whole post smells of ifone h8.
We’re talking about using a standard telephone connected to an Asterisk server, not a cellphone. In other words, this is something you can do from home using your home phone.
I seen wolframalpha on TED when I was heavy into the AI scene. More than a great tool. It’s my secondhand search engine.
As to the article, this is a great implementation with wolframallpha. It gives me more ideas….
Wolfram Alpha is the best, I use it for math/science homework. There’s already apps for it on android and iphone. It even has a sense of humor
Why? , or
Why?
Am I going to die?>
And as Th3badwolf mentioned, it can do DNA
There are tons of Easter Eggs on there. I spent a whole day once looking up answers to inane questions and got some smart-alec or pop-culture answers on quite a few.
I think you could probably cut the asterix server out of the way and make a smartphone app that does those steps and uses speech synthesis to say the result.
You know that Siri will return data from Wolfram Alpha out-of-the-box, right?
Go ahead and ask your 4S for the wingspan of a 747. See what happens.
Siri is based on wolframalpha http://en.wikipedia.org/wiki/Siri_(software)
Notify me.
I actually set this up. There are two methods to accomplish this. I found that the version that Lefteris came up with using a custom agi seems to work better. I was having issues where the system call in the dialplan would get held up and not complete. If you look in the PBXiaF forum there is more information on the topic. look for speech recognition and wolfram.
I too went out of my way to set this up using an old box we had kicking about, and I think this is a great hack, irregardless of if there is already a apple or droid interface that does similar, honestly who cares, technically its a great hack, and a nice example of something else interesting to do with a home PBX system.
if you have the bits knocking about, the installation of the PBXiaF deal, & the centos server it lives in, was trivial, the PBXiaF itself, seems to be a pretty solid pbx system, and ‘out the box’ so to speak, understood my accent.
Thanks! I had a great time doing this. x