[developers] Export generated trees

Berthold Crysmann crysmann at dfki.de
Wed Sep 14 16:31:54 CEST 2005

Berthold Crysmann wrote:

> Ann Copestake wrote:
>> if you call (show-gen-result-tty) after a structure is generated in 
>> the LKB you
>> get a bracketed output of the labelled tree in the emacs buffer.  The 
>> function
>> is in mrs/mrstoplevel.lisp if you want to make your own variant.
> Thanks, Ann.
> Do you or does anybody else know  whether and how it is possible to 
> record the results of generation in  [incr tsdb()].  Currently,  I get 
> only the usual statistics, but no  generated strings, derivations, or 
> trees.
> Berthold

I've now figured out how to do it. For some reason or other the 
generator did not like the (Pet-supplied) input MRSes, so did not 
generate anything. With MRSes from LKB, I get all I need, trees, are 
there, once I treebank and normalise the output.


More information about the developers mailing list