[developers] tsdb result file
Stephan Oepen
oe at ifi.uio.no
Sun Jul 12 16:37:23 CEST 2009
hi bart,
> as an addition to a mail I sent earlier (see below), I also noticed
> that in my grammar, sometimes the root node shows up twice.
>
> For example:
>
> 179 at 2@-1 at -1@-1 at -1@-1 at -1@-1 at -1@(root-np (89 gen-mod -0.0177179 0 3
> (root-np (88 empty-det -0.00710798 0 3 (87 n-post-h-a -0.0 179944 0 3
> [...]
>
> In this case, it's a small inconsistency in my grammar, but I suppose
> this shouldn't happen? It was generated using PET's -tsdbdump command.
[...]
> === 2 dec 2008 ===
>
> I was looking at the result file in tsdb profiles, and I saw that in
> some parses the root condition is included in the parse tree, and in
> some parses it isn't.
[...]
thanks for the bug report. i finally got around to looking into this,
and there actually were two bugs in PET related to printing of roots:
(a) the output of a root was not conditioned on looking at the top of a
derivation, i.e. whenever a result edge (with a non-empty root) occured
as part of a larger derivation (by virtue of a unary rule), the larger
structure would print with a spurious embedded root. (b) in unpacking,
whether selective or exhaustive, the recording of roots on `new' edges
(those unpacked from a root-level edge) was flawed.
i have just checked in the code fixes to PET (into the `cm' branch) and
put a new `tcheap' binary into the LOGON tree. would you have time to
test the new binary against Cheetah?
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