On 3/11/06, Levi Pearson <[EMAIL PROTECTED]> wrote:
> I recommend SBCL.  Just fire it up and type (load "/path/to/
> dicttest.lisp"), and it will load and compile the file.  Then type
> (find-word-counts "/path/to/filename"), and you should get the result
> in a small fraction of a second.  To find out how long it takes to
> execute, use (time (find-word-counts ... )).

When I run sbcl and then the load instruction, I get the following error:

debugger invoked on a SB-INT:STREAM-DECODING-ERROR in thread 3085018816:
  decoding error on stream
  #<SB-SYS:FD-STREAM for "file \"/usr/share/dict/words\"" {9075801}>
  (:EXTERNAL-FORMAT :UTF-8):
    the octet sequence (243 110 10 65) cannot be decoded.

Why can't lisp parse the words file?  UTF8 problem?

-Bryan

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to