[developers] Re: still problem with accents...
oe at csli.Stanford.EDU
Fri Jun 17 11:23:47 CEST 2005
apologies, i had started a reply to your earlier message and then put
it aside half-finished. encoding issues, unfortunately, are nasty!
assuming you have a working LKB (preferably the latest version), may i
ask you to try the following: in the *common-lisp* buffer in emacs(1),
where one can interact with the LKB without its graphical tools, there
should be a prompt looking like
try using the LKB :tty mode function
(do-parse-tty "Quiero saber la localización de su compañía.")
using, of course, a sentence you actually expect to parse. first, make
sure that emacs(1) is happy with the accented characters, and hopefully
then the LKB will be able to parse your input? if so, the display may
even look good (e.g. accented characters in the tree and AVM windows)?
that much, i believe, we should be able to make work easily! there has
been a long-standing issue with _input_ of accented characters in the
pop-up dialogue that you get from `Parse | Parse input ...' in the LKB
top window. unfortunately, we have not been able to fix this part, and
the problem appears to be at a lower level than the LKB, actually.
the people in japan have added some emacs function to `lkb.el', i.e. if
your automated installation succeeded, you should be able to use `C-c p'
(that is Control plus `c' followed by just `p') in the *common-lisp*
buffer, and it will insert (do-parse-tty "") with an empty string for
you. another benefit of using some of the LKB :tty commands is that
you get command history in the *common-lisp* buffer. for example, you
can just scroll up, place the cursor at the end of a line with earlier
input, and press Enter: this should re-execute that command. `C-c C-p'
is like pressing `cursor up' at a shell prompt, i.e. it will recall the
previous command from the input history; you can do it multiple times
to go back to earlier commands. see:
for lots more background on available emacs(1) commands.
les us know how things go! all the best - oe
+++ Universitetet i Oslo (ILN); Boks 1102 Blindern; 0317 Oslo; (+47) 2285 7989
+++ CSLI Stanford; Ventura Hall; Stanford, CA 94305; (+1 650) 723 0515
+++ --- oe at csli.stanford.edu; oe at hf.uio.no; stephan at oepen.net ---
More information about the developers