in reply to natural language sentence construction
Besides defining nouns for system objects and working out the kinds of messages that can be provided, you also need to work on prioritizing what gets told to the user so they don't end up with ten pages of unimportant information when there are one or two really important things that need to be told (emailed) to them. More difficult heuristics are just that, way more difficult.. but if you can provide even a small very minimal AI engine it would be quite useful to people.
Perhaps AI::Fuzzy would be useful in figuring out the best way to express values which are not clearly defined.
You may know about this from CPAN:
Lingua::Wordnet - Perl extension for accessing and manipulating Wordnet databases.
As far as parsing goes, there are also some projects like these from freshmeat.net:
- a natural language parser
- another parser
- Linguistic Data Corp has released open source code
But maybe what you really need is CLIPS, an expert system used by NASA and other government institutions. You can get the source code.. a Perl front end to this for even a limited problem space would be very cool! (Hint, Hint..)
"CLIPS is a productive development and delivery expert system tool which
provides a complete environment for the construction of rule and/or
object based expert systems... CLIPS provides a cohesive tool for handling
a wide variety of knowledge with support for three different
programming paradigms: rule-based, object-oriented and procedural.
Rule-based programming allows knowledge to be represented as
heuristics, or "rules of thumb," which specify a set of actions to be
performed for a given situation. Object-oriented programming allows
complex systems to be modeled as modular components (which can be
easily reused to model other systems or to create new components).
The procedural programming capabilities provided by CLIPS are similar
to capabilities found in languages such as C, Pascal, Ada, and LISP."
Edit 2001-06-18 13:08 ar0n Made the links clickable