Hi
I dont think you can use defaultdict in viz as its only available in version 2.5 of python and vizard uses version 2.4. 
There are some collections you can use see 
http://docs.python.org/library/collections.htm
For voice recognition look at this thread 
http://forum.worldviz.com/showthread.php?t=2790
Thanks