Access GUM with Powerloom
Hans Chalupsky <hans <at> ISI.EDU>
2003-11-24 08:40:32 GMT
The Generalized Upper Model is written in Loom, so, unless you have a
specific reason why you want to use PowerLoom I'd recomment using Loom
instead.
If you really want to use PowerLoom, you'd have to translate it into a
PowerLoom KB first. PowerLoom has a preliminary Loom-to-PowerLoom
translator that you could use to translate the GUM ontology, however, it
will only work on fairly vanilla Loom files. You might have to clean
them first from any Lisp-isms before this will work.
The function to call is
(translate-loom-file "<infile>" "<outfile>")
Unfortunatly, this function is not yet a PowerLoom command (will be
fixed in an upcoming patch set) which means you can only call it
interactively in Lisp for now. To use it in C++ or Java you'd have to
call it programmatically.
You might need to do some manual post processing on the translated
file, e.g., add a proper module definition, etc. Once that is done
you can load it via the standard PowerLoom `load' command.
If you have more questions about Loom-to-PowerLoom translation you
might want to contact Tom Russ directly.
Hans
>>>>> Chow Ian Castor <50353784 <at> student.cityu.edu.hk> writes:
(Continue reading)