Well I remember a post from a few months back saying artificial intelligence probably needs a reebot.
Take a step back and try to find new, possibly easier approaches?
See - all you need is perl, rand and /usr/dict to create an AI that while it can't pass as human can at least obtain a research grant