Misha --
Very interesting that you are looking for this. I am currently in the process of writing a set of tutorials on NLP with Perl, as I learn more about the subject myself. I have been working on it for a few days, and the first of the series is starting to reach a finished state. I'll send you a /msg when I complete it...
For now though, you might want to look up information about
WordNet and the Link Grammar System on Google. There are Perl modules on CPAN for both of them. For WordNet, check out WordNet::QueryData, Lingua::Wordnet, WordNet::Similarity, and Lingua::Wordnet::Analysis. For the Link Grammar Parser, check out Lingua::LinkParser. There are many other modules - just browse around on CPAN in the Lingua:: group....
The field of natural language processing is huge, and it is difficult to find documentation out there that is accessible to the non-professional (one of my primary reasons for writing a tutorial). But the two tools I mentioned above are fairly easy to use, and if you can manage to get through the documentation, you should know enough at the end to know where to direct yourself from there. Browse around on
Wikipedia as well to introduce yourself to some of the terminology used in the field. This will make reading the documentation much easier.
As far as the program you want to write -- training a computer program to pull useful information out of free conversation is not a simple thing to do. You'll see that after a few minutes of reading the
Introduction To The Link Grammar Parser ;)
Here's a list of some of the interesting reading I've found lately. Hope this helps, and please let me know if you find anything interesting:
--mmmmtmmmm