[developers] Type hierarchy extraction problems

Francis Bond fcbond at gmail.com
Wed Aug 21 10:10:02 CEST 2013


Or you can explictly ask for the various things.  See
logon/lingo/lkb/src/ltdb/patch-lextypedb.lsp

On Wed, Aug 21, 2013 at 3:53 PM, Stephan Oepen <oe at ifi.uio.no> wrote:
> 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:
>
>   (lkb::batch-check-lexicon)
>
> 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/ ---
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>



-- 
Francis Bond <http://www3.ntu.edu.sg/home/fcbond/>
Division of Linguistics and Multilingual Studies
Nanyang Technological University



More information about the developers mailing list