HOW TO set up LexDB for use

Note: this page has been reconfigured so it contains the information which is general between single and multi user mode. You should read this after looking at LkbLexDbMultiUser or LkbLexDbSingleUser.

Obtaining a lexicon in LexDB dump format

Either

HOW TO set LKB lexicon to LexDB

The LexDB functions as an alternative to the textual lexicon.tdl file. The lexical database functionality is configured via the LKB user parameter *lexdb-params* (LKB menu->Options->Set Options).

Specify the name of the lexical database we will connect to and whether we want to use single or multi user mode.

  ((:dbname "erg") (:type :multi-user)) 

or

  ((:dbname "erg") (:type :single-user)) 

In addition to :dbname and :type, the following may also be set:

{{{ (read-cached-lex-if-available

with the following

{{{ ;; optionally, use a lexical database;

Debug

If you are getting the following error, comment out (index-for-generator) in grammar/lkb/script.

{{{(LexDB) (postgres) ERROR: relation "semi_pred" does not exist Error: Attempt to throw to the non-existent tag :SQL-ERROR

Or, create the semi tables with the following two commands:

{{{(lkb::new-lex-key-table lkb::*lexicon*) (lkb::new-semi lkb::*lexicon*)}}}

LexDbInitialize (last edited 2011-10-08 21:12:14 by localhost)

(The DELPH-IN infrastructure is hosted at the University of Oslo)