This is related, but may interest you or others. It is perltk voice recognition.
PerlBox-Voice
"Perlbox Voice is a voice command system, aiming to provide an easy to use, easy to configure application that connects spoken human words to computer commands, and vice versa. It allows the user to easily configure vocabularies that consist of "commands" and "responses". When the operator speaks a command (for example, "web browser"), the computer will execute the designated response (for example, "mozilla")."
I'm still looking at it, but the "phonetics" of how they recognize words is pretty interesting