[developers] Type hierarchy extraction problems

Stephan Oepen oe at ifi.uio.no
Wed Aug 21 09:53:02 CEST 2013

hi andrew,

for better efficiency, the LKB has a concept of so-called ‘leaf
types’ (see Copestake, 2001), which are loaded on demand.

thus, to obtain a complete type hierarchy, one will first have
force loading of all leaf types.  the following should work:


best, oe

On Wed, Aug 21, 2013 at 8:53 AM, Andrew Chester
<a.chester at student.unimelb.edu.au> wrote:
> Hello developers,
> As per Tim's inquiry a few months ago, I have tried to extract the lexical
> type hierarchy for ERG(1212) using the command:
> (lkb::types-to-xml :file "/tmp/types.xml")
> after loading the grammar.
> However, the resulting file seems incomplete, as it doesn't appear to
> include
> any type which is a child of main_verb (for a concrete example: v_-_it_le).
> Could anyone point me to where I am going wrong? The types which are missing
> from the extracted hierarchy also seem to lack TDL summary information in
> the online type database
> (http://cypriot.stanford.edu/~danf/cgi-bin/ERG_1212/description.cgi?type=v_-_it_le
> ).
> Thanks,
> Andrew Chester

+++ Universitetet i Oslo (IFI); Boks 1080 Blindern; 0316 Oslo; (+47) 2284 0125
+++    --- oe at ifi.uio.no; stephan at oepen.net; http://www.emmtee.net/oe/ ---

More information about the developers mailing list