Discussion:
[lkb] read-tdl-lex-file-aux
Emily M. Bender
2005-04-05 04:21:17 UTC
Permalink
Hi folks,

In the starting script file for the matrix, I have people
use read-tdl-lex-file-aux() rather than read-cached-lex-if-available(),
for two reasons: first, the lexicons are so small that caching
isn't necessary, and secondly, since multiple folks might work
on grammars on the same machine, things can get very confusing
when the cached lexicon from is from one grammar and just
happens to be more recent that the lexicon file the person
is currently using.

However, with the most current lkb (current source, likewise
the latest linux binary), I get an error when I do it this way:

Error: eof encountered on stream
#<EXCL:FILE-SIMPLE-STREAM
#p"/home/bender/teaching/567/labs/matrix-567/lkb/script" closed @
#x548d041a>

read-cached-lex-if-available() works without problems.

One work around for this is to have folks edit their Version.lsp
so that the cache files don't collide, even if they use
different machines. But, I'm curious what is causing the error.
This used to work... Also, is there another way to avoid
caching?

Thanks,
Emily
Ann Copestake
2005-04-05 13:41:34 UTC
Permalink
this is also what I do for teaching grammars and is the `official' things to
do with small grammars. it still works for me with the latest source. The
error message actually suggests there's a missing quote or paren in the script
file
- if that's not the case, could you send us the script file, please?

Ann
Emily M. Bender
2005-04-05 17:46:35 UTC
Permalink
Thanks, Ann. It was a missing paren.

Emily
Post by Ann Copestake
this is also what I do for teaching grammars and is the `official' things to
do with small grammars. it still works for me with the latest source. The
error message actually suggests there's a missing quote or paren in the script
file
- if that's not the case, could you send us the script file, please?
Ann
Ann Copestake
2006-03-08 19:10:35 UTC
Permalink
What's the current status of being able to print feature structures as
displayed by the LKB?
hmm, do you mean you would like to know what the plans are for improvements
(there are none on my part for the foreseeable future), or that previous
behaviour has broken? If so - CLIM (standard interface) Windows/Linux or LUI
or Mac?

Ann
Ann Copestake
2006-03-08 19:38:09 UTC
Permalink
click Print on the FS window (on the top line)

select the File box and choose a file

click OK

(and yes, this is not a great interface ...)
Ann Copestake
2006-03-08 22:33:16 UTC
Permalink
OK, thanks. I would put that on the bug report system except that was
seriously spammed last I looked, and the bug report to move to a less
spammable bug report system has not got acted on yet ...
Thanks, Ann. That's what I tried, except with "use multiple pages?" checked.
That produced a non-empty file that looked blank with gv. Unchecking it
produces something that gv could display.
Woodley Packard
2006-03-09 05:24:30 UTC
Permalink
Emily,

I'm not sure if you are using LUI or not, but most LUI browsers
(including the AVM browser) are capable of outputting postscript and
LaTeX. Boasting a printing interface somewhat *more* arcane than the
CLIM one, when you choose to print a file in /tmp/ will be created
for you with an automatically selected name like /tmp/avm-1.ps or /
tmp/avm-1.tex.

See:
http://wiki.delph-in.net/moin/LuiUi

-Woodley
What's the current status of being able to print feature
structures as displayed by the LKB?
Loading...