[itsdb] How can I annotate with Ace and Pet?

Stephan Oepen oe at ifi.uio.no
Thu Dec 13 13:23:25 CET 2012


have you tried parsing with PET?  that is by far the most common
current way of creating profiles for treebanking with [incr tsdb()].

also, to treebank, you need to load the same grammar used when
parsing into the LKB (and [incr tsdb()]) environment, because the
profile only records the derivation (recipe), but to treebank these
derivations are reconstructured, i.e. lexical entries and rules are
unified together in exactly the same configuration as determined
by the derivation---thus arriving at the exact same AVM as there
was on the parsing result(s).

oe


On Thu, Dec 13, 2012 at 1:03 PM, Tore Bruland <torebrul at idi.ntnu.no> wrote:
> I can annotate with LKB, but it doesn't work with Ace and Pet ( ).
> Logon is stared from Emacs with alt-m-x logon.
> I import test-items into a database (Podium), and then I process them,  but
> when I start Trees->Annotate, I get an error message from each test-item and
> the annotation process does not start.
>
> The error:
>
> [10:58:04] browse-tree(): `suite_2_ace' --- item # 1
> [10:58:04] browse-tree(): retrieved item # 1 (5 parses).
> [10:58:04] browse-tree(): retrieved 0 tree records.
> [10:58:04] browse-tree(): reconstructed 0 edges.
> [10:58:04] browse-tree(): retrieved 0 decisions.
> browse-tree(): failed to reconstruct item # 1 (parse # 1).
>
> My cpu definition:
>      (make-cpu
>       :host (short-site-name)
>       :spawn "/home/tore/software/ace-0.9.10pre4/ace"
>       :options '("-t" "-g"
> "/home/tore/software/ace-0.9.10pre4/norsource.dat")
>       :class :no_ace_p :grammar "norsource" :name "norsource"
>       :task '(:parse)
>       :wait 600
>      )
>
> I start the cpu with:
> (tsdb::tsdb :cpu :no_ace_p :file "tsdb_no_ace_p_log.txt")
>
>



-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++ 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 itsdb mailing list