Friday, January 4, 2013

Baby steps into making an AIML parser in NewLisp

I have not written in this blog for two years, but that doesn't mean I have not been playing with Lisp every so often. I started working on an AIML parser using the NewLisp language some time ago. Maybe I can make some real progress on it if I start writing about it. The scripts currently just read files and has a routine that helps me generate new AIML categories.

The ALICE brain that I am making can so far generate AIML files by making the user ask what it is learning fro the "PATTERN" tag and what it's response should be for the "THAT" tag. User response is timed, so that in application the time it takes for me to answer certain questions will be more realistic. I am also playing with the idea of a topic context, to aid the AI in making associations between topics in it's database.

Links to the code are provided.

alice.lsp BRAIN.lsp PARSER.lsp DB.lsp

No comments:

Post a Comment