[developers] Browsing items with lexical coverage using itsdb profiles created with pydelphin/ace
oe at ifi.uio.no
Fri Sep 27 22:05:33 CEST 2019
yes, the 'parse' file (like the other files in a tsdb(1) database) is
a textual encoding of a set of tuples. what you quote looks
suspiciously spartan to me, with only the first three fields filled
and the number of 'readings' filled in. in a regular profile, i would
expect a record of the initial and internal tokenization, various
timings, and statistics about lexical instantiation and chart
construction. i am relatively sure that ACE does account for most of
these, so i suspect that information is getting lost somewhere in your
On Fri, Sep 27, 2019 at 9:56 PM Kristen Howell <kphowell at uw.edu> wrote:
> Thank you Stephan. Would the 'parse' relations be the lines the parse file? They each look something like this:
> 0 at 0@0 at -1@@-1@@0 at -1@-1 at -1@-1 at -1@-1 at -1@-1 at -1@-1 at -1@-1 at -1@-1 at -1@-1 at -1@-1 at -1@-1 at -1@-1 at -1@-1 at -1@-1 at -1@-1@@@
> Perhaps this means that the error field among other things is not being populated?
> Then the question for Mike and/or Woodley would be if it is expected to be populated.
> On Fri, Sep 27, 2019 at 12:33 PM Stephan Oepen <oe at ifi.uio.no> wrote:
>> hi kristen,
>> i had to peak at the [incr tsdb()] code myself; 'Browse Errors' will
>> extract all items where the 'error' field (in the 'parse' relation) is
>> a non-empty string. so, if nothing comes up there, presumably there
>> either were not errors, or ACE does not populate that field?
>> likewise, the pre-canned 'unproblematic' condition amounts to 'error
>> == ""', i.e. an empty string in that field. to some degree, what to
>> consider an 'error' is arguably up to the parsing engine. from
>> memory, i believe that both the LKB and PET will generate some
>> descriptive 'error' string for example in case of missing lexical
>> entries for some of the input tokens.
>> it appears that ACE (or pyDelphin, not sure about the division of
>> labor here) maybe simply does not populate the 'error' field in the
>> profiles that it generates?
>> best wishes, oe
>> On Fri, Sep 27, 2019 at 7:09 PM Kristen Howell <kphowell at uw.edu> wrote:
>> > Hi Mike and Woodley (and others?),
>> > I've created some itsdb profiles using pydelphin and a grammar loaded in ace. I am trying to browse the profile in [incr tsdb()]. The results and coverage show up fine. However, when I try to browse errors, nothing happens. Also when I try to view items with lexical coverage (using tsdl condition--> unproblematic and then browse --> test items), I see all of the items, not just those with lexical coverage.
>> > Is this expected to work with pydelphin profiles? If so, what might be missing? My profile contains non empty item, parse, result, relations, run files.
>> > Thanks for your help,
>> > Kristen
More information about the developers