assertion to English conversion?
Hans Chalupsky <[email protected]>
| Newsgroups | gmane.comp.ai.powerloom |
|---|---|
| Message-ID | <[email protected]> |
There is no standard PowerLoom mechanism yet to do this. The `lexeme' and `phrase' assertions in pl-kernel-kb.ste are only some initial steps towards a capability like this. NL-rendering is fairly easy for most ground assertions such as `(father-of frank joe)' (you could easily write this yourself if you really need it). Solving this generically for rules is much more difficult if you want to generate language that can actually be understood by humans. We are therefore considering a template-based approach to handle this problem for one of our new projects. Depending on how things go a simple NL-rendering capability might become available sometime next year. Hans >>>>> Joshua N Pritikin <Joshua> writes: > What is the standard PowerLoom mechanism to render an assertion > into English-like text? > For example: > (english (forall ((Dog ?dog)) > (exists (Head ?head) > (have-a ?dog ?head))))) -> "All dogs have a head." > I saw some possibly related code in PL-KERNEL but I didn't see > anything about it in the manual. > -- > A new cognitive theory of emotion, http://savannah.nongnu.org/projects/aleader > _______________________________________________ > powerloom-forum mailing list > [email protected] > http://mailman.isi.edu/mailman/listinfo/powerloom-forum