[developers] Lexdb and generator index

Ben Waldron benjamin.waldron at cl.cam.ac.uk
Mon May 9 17:24:29 CEST 2005


Berthold Crysmann wrote:

> Ben Waldron wrote:
>
>> Berthold Crysmann wrote:
>>
>>> can anyone tell me how I can configure my grammar/LKB such that the 
>>> generator index will be provided by the LexDB?
>>>
>>> Currently, I have to recompute the index after every grammar 
>>> reload...  (using LexDB|Index new entries).
>>
>>
>>
>>
>> Add (:semi t) to *psql-lexicon-parameters*
>
>
> Thanks.
>
> Though, it doesn't yet do the trick. I get the following warnings on 
> indexing:
>
> PSQL ERROR: index "semi_pred_lex_id" does not exist
> CONTEXT: SQL statement "DROP INDEX semi_pred_lex_id CASCADE"
> PL/pgSQL function "semi_drop_indices" line 3 at SQL statement
> SQL statement "SELECT semi_drop_indices()"
> PL/pqSQL function "semi_setup_pre" line 2" at perform
>
> ERROR: Attempt to throw to the non-existent tag :SQL-ERROR
>
> As a result, loading complains with:
>
> WARNING: no lexical entries indexed for generator
>
> Any ideas?

Recreate the LexDB (dump lexdb if necessary, dropdb and run the install 
script). What commands did you run recently? Did you run any commands 
that failed?

-Ben




More information about the developers mailing list