View Single Post
Posts: 958 | Thanked: 3,426 times | Joined on Apr 2012
#616
Originally Posted by impeham View Post
taixzo, is it possible to make a script that listens to mic and prints to output what it heard?

i just thought that this way we'll be able to use scripts to do generic voice recognition to whatever usage anyone likes.

for example, i can record my voice saying "car", get the output recognized text and use it to activate my car mode (even if it was not recognized as "car")

such customization will be awesome and there will be no need for a GUI application for many users.

what do you think?
You can; however you'd probably be better off starting off with the example Pocketsphinx script, as I did with Saera, rather than trying to adapt the code.


All:
I haven't posted any updates on Saera for a while, because I've been working on a component that doesn't really allow partial updates: the A.I.

The current system uses hardcoded functions for everything, which isn't very flexible. Consider the following: You have asked for directions home, and then on the way say: "Will I reach my destination before the Giants game?" What function would handle this: the function that deals with directions? The function that returns sports information? It's not feasible to pack every conceivable scenario into each function.

However, there's a different approach: Use a node-based system and allow the program to find the connections between nodes. That statement would be split up into nodes: the "destination" node, the "event information" node, the "before" node, and the "will" node which is the root node. The "destination" node would have an "ETA" property, which can be connected to an "ETA-to-time" node which has a "time" property; that "time" property and the "time" property would connect to the "before" node, which has a Boolean property (true or false) that would connect to the "Will" node and return an answer.

This system is still in development and has not been integrated with Saera yet, but I figured I would post an update.
 

The Following 28 Users Say Thank You to taixzo For This Useful Post: