[developers] Generation from MRS (via command-line)
Dominikus Wetzel
dwetzel at coli.uni-sb.de
Fri Dec 9 07:48:31 CET 2011
Dear all,
I opted for a different approach and use a modified version of the
generate script, essentially directly calling the following lisp function:
(lkb::generate-from-mrs
(mrs::read-single-mrs-xml-from-string <xml mrs>)
:nanalyses <limit>))
However, the output of this function is not entirely clear. The most
crucial part for me is the first return value, i.e. the realizations:
(It doesn't taste very good. It does not taste very good.
It does not taste very good.)
The unclear part is why sometimes two (or even more) realizations are
"on the same line" and sometimes only one (which is what I would expect).
Can anyone give me a hint? Can this behavior be changed?
Thanks a lot in advance,
Dominikus
On Tuesday 15,November,2011 05:20 PM, Dominikus Wetzel wrote:
> Dear all,
>
> My intention is to generate from (manipulated) MRSs.
>
> I was hoping to be able to use the $LOGONROOT/generate script. To my
> understanding (and also as http://moin.delph-in.net/ItsdbProfile#result
> somehow suggests), I would need a tsdb result file as input, which
> contains at least the MRSs. However, the generate script
> ($LOGONROOT/generate --binary --erg myprofile) attempts to parse again
> (i.e. content is created in the tsdb parse file). And more importantly,
> it doesn't generate any output into the new tsdb result file.
>
> I have tried out various combinations of input files and their contents
> (e.g. providing tsdb item file with dummy values, providing the tsdb
> parse file, ...).
>
> I'd be glad if anyone could let me know, ...
>
> a) ... whether generating from MRSs is possible with the generate script
> b) ... if yes, what input files are needed and what content they have to
> provide
>
> Thanks very much in advance.
> Best wishes, Dominikus
More information about the developers
mailing list