[developers] Lexdb settings
Ben Waldron
ben.m.waldron at gmail.com
Tue Jan 20 12:53:08 CET 2009
I suggest first familiarizing yourself with the lexical database that is
distributed as part of the ERG
http://www.delph-in.net/erg/
before you go on to create and run your own lexical database. The
single-user setup to which Francis refers is simpler to set up and run,
and almost certainly more suitable for your needs. There's some
documentation here:
http://wiki.delph-in.net/moin/LkbLexDbSingleUser
http://wiki.delph-in.net/moin/JacyLexDb
Regarding your problems setting the global variable. You can either set
it from the LKB Lisp prompt (make sure to include setf and the single
quote as shown):
LKB(15): (setf *lexdb-params* '((:DBNAME "erg")))
Or it can be set from the GUI (LKB Top->Options->Set Options...) by pasting
((:DBNAME "erg"))
into the value slot for *LEXDB-PARAMS*. (note there is no single quote here)
Hope this helps,
- Ben
Ben Waldron wrote:
> -original message-
> Subject: Re: [developers] Lexdb settings
> From: "Francis Bond" <fcbond at gmail.com>
> Date: 20/01/2009 08:13
>
> G'day,
>
>
>
>> I'm still having trouble connecting to the lexdb database. I'm not
>> entirely sure how to get the settings right. I tried typing the
>> following command according to the wiki, but got an error:
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> LKB(2): lkb::*lexdb-params* ((:dbname "lil" :user "lexdb"))
>>
>
>
> I think you need to type:
> (setf lkb::*lexdb-params* ' ((:dbname "lil") (:user "lexdb")))
>
> i.e. you need to use setf to set the value, you need to quote the lisp list,
> and each parameter value pair has to be a list.
>
> you should probably also set the type
> (setf lkb::*lexdb-params* ' ((:dbname "lil") (:user "lexdb") (:type
> "multi-user"))))
>
> Jacy uses the somewhat simpler single user mode, there is some documentation
> in http://wiki.delph-in.net/moin/JacyLexDb.
>
> (:type :single-user)
>
>
> Does anyone have any insight on how to get the settings right?
>
>
>
> I hope that this helps.
>
>
More information about the developers
mailing list