[lkb] Morphological transducer in the LKB, ACL versus MCL

Jeff Good good at eva.mpg.de
Fri Apr 22 13:39:52 CEST 2005


Hello,

I've been trying to make use of a morphological analysis system 
designed to allow the LKB to interface with XFST put together by David 
Goss-Grubbs and Emily Bender at the University of Washington. The patch 
that has been developed works fine with ACL, but it is causing problems 
with an MCL version of the LKB I've been using (courtesy of John 
Carroll).

I'm attaching the script I've been using, a file called tduce.lsp which 
reads in a prolog version of an XFST transducer, and user-fns.lsp.

I'm encountering problems at a very early stage of trying to read in 
the files and have isolated at least some (if not all) of the problems 
to the use of defstruct in the tduce.lsp file. When you try to use that 
function in any way in the MCL version of the LKB I have, you get the 
error:
 > Error: #<Compiled-function CCL::NX-ALLOW-TRANSFORMS #x314600E>: code 
has been excised.
 > While executing: CCL::NX-ALLOW-TRANSFORMS

(This error is caused by reading in tduce.lsp and also by, for example, 
simply trying "(defstruct foo)" in the listener.)

This error is not general to MCL since a trial version I downloaded 
would allowed calls to defstruct without a problem. (I tried to 
recompile the whole of the LKB into my trial MCL to see if I could get 
the morphological patch to work then, but couldn't get MCL to do the 
compilation--I'm not sure if the online MCL LKB directions are out of 
date or if this was just my own problem. I'd be happy to give anyone 
interested more details on that.)

Perhaps this error is an artifact of this specific MCL LKB 
compilation--or perhaps its indicative of a larger problem. Any advice 
would be appreciated.

Jeff Good


-------------- next part --------------
A non-text attachment was scrubbed...
Name: script
Type: application/octet-stream
Size: 4369 bytes
Desc: not available
URL: <http://lists.delph-in.net/archives/lkb/attachments/20050422/2c0ae65f/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tduce.lsp
Type: application/text
Size: 13414 bytes
Desc: not available
URL: <http://lists.delph-in.net/archives/lkb/attachments/20050422/2c0ae65f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: user-fns.lsp
Type: application/octet-stream
Size: 8185 bytes
Desc: not available
URL: <http://lists.delph-in.net/archives/lkb/attachments/20050422/2c0ae65f/attachment-0001.obj>


More information about the lkb mailing list