[developers] incompatible change in user-supplied LKB function

Stephan Oepen oe at ifi.uio.no
Thu Jun 4 20:45:51 CEST 2009


dear all,

while improving generation with generic lexical entries, i checked in a
change today that is not backwards-compatible: in the LKB, the function
instantiate-generic-lexical-entry() now takes an additional argument.

in principle, this function can be provided for each grammar (typically
in the file `user-fns.lsp'), although i believe only the ERG, JaCY, and
GG actually include a grammar-specific version of the function.  i have
updated the ERG already.

for GG, i would recommend picking up the new definition from

  http://svn.delph-in.net/erg/trunk/lkb/user-fns.lsp

and then adapting the grammar-specific paths appropriately.

for JaCY, i believe there are no generic lexical entries available for
generation, hence i would suggest (for the time being) simply deleting
the function definition from `user-fns.lsp'.

for all other grammars, i believe you can ignore this change, but to be
sure, maybe confirm `instantiate-generic-lexical-entry' does not occur
anywhere in the LKB-specific `.lsp' files of the grammar.

                                                      all best  -  oe

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++ Universitetet i Oslo (IFI); Boks 1080 Blindern; 0316 Oslo; (+47) 2284 0125
+++     CSLI Stanford; Ventura Hall; Stanford, CA 94305; (+1 650) 723 0515
+++       --- oe at ifi.uio.no; oe at csli.stanford.edu; stephan at oepen.net ---
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



More information about the developers mailing list