[lkb] Morphological transducer in the LKB, ACL versus MCL
Jeff Good <[email protected]> Fri, 22 Apr 2005 13:39:52 +0200
| Newsgroups | gmane.comp.ai.lkb |
|---|---|
| Message-ID | <[email protected]> |
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
script
(application/octet-stream, 4.3 KB) - not displayed
tduce.lsp
(application/text, 13.1 KB) - not displayed
user-fns.lsp
(application/octet-stream, 8 KB) - not displayed