[developers] Getting MRS elementary triples from batch parsing?
oe at ifi.uio.no
Mon Aug 29 16:21:38 CEST 2011
ah, i see. if you were to go down this (somewhat hacky) route,
it might just work to abuse the 'tree' field, seeing there is a hook
available to fill that field: *tsdb-trees-hook*. to work out what the
composed function you want to call should be, take a look at the
:ltriples export in export-tree().
if you absolutely wanted to stuff ED triples into the surface field,
i guess you would have to redefine result-hook().
On Mon, Aug 29, 2011 at 16:03, Francis Bond <bond at ieee.org> wrote:
>> We were wondering if there were some way to overload another field in
>> result (maybe surface, which we don't use here) and directly write the
>> triples to it (thus avoiding another round of processing).
> More concretely, I thought we could probably change *tsdb-semantix-hook* from
> "mrs::get-mrs-string" to some wrapper around it using
> mrs::ed-output-psoa, but it would be nice to also have the original
> MRS, and I couldn't see how to do that.
> Francis Bond <http://www3.ntu.edu.sg/home/fcbond/>
> Division of Linguistics and Multilingual Studies
> Nanyang Technological University
+++ 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 developers