Re: How to do some recursiv inference?
Thomas Russ <[email protected]>
| Newsgroups | gmane.comp.ai.powerloom |
|---|---|
| Message-ID | <[email protected]> |
On Saturday, December 20, 2003, at 01:26 PM, [email protected] wrote: > Thank you for your help Hans. But I need a more help here...sorry :) > > Quoting Hans Chalupsky <[email protected]>: > > [deleted] >> (2) In its current default configuration, PowerLoom doesn't back-index >> on literals such as numbers or strings. Therefore, it won't find >> some of your assertions below which will prevent the inferences >> from going through. To make it backindex on literals, you have to >> set the variable >> If you are using Java, you'd have to set the variable >> >> >> edu.isi.powerloom.logic.$BACKLINK_ALL_PROPOSITION_ARGUMENTSp$ >> You can set it in the respective main function or the Lisp top >> level. >> >> This behavior was motivated by the fact that we wanted to avoid >> lots of >> proposition backpointers from commonly used constants such as 0 or >> 1, but we might change our position on that for future releases. > > I use Java-version Powerloom to do these definition. But I still cant > find how > to set the variabel that you point here (which is > "edu.isi.powerloom.logic.$BACKLINK_ALL_PROPOSITION_ARGUMENTSp$"). How > can I set > that variabel? In Powerloom prompt or may be I have to change some > files to do > that. It is not settable from the PowerLoom command prompt. You will have to set it in program code instead. The method for setting it is detailed in the version 3.0 PowerLoom manual. It is in the chapter on the PowerLoom interface. There is a specific section about using PowerLoom from Java. A link to that section is: http://www.isi.edu/isd/LOOM/PowerLoom/documentation/manual/ manual_9.html#SEC55