[developers] how to get grammar-external variable properties in generation profile
Michael Wayne Goodman
goodmami at u.washington.edu
Wed Nov 19 06:47:28 CET 2008
I forgot to mention that I don't see this behavior when I create
parsing and generation profiles from the iTsdb podium. In that case,
the VPMs for both the parsed MRS and the generated one are in the
grammar-external format. So apparently something different is
happening when the sentences are processed in batch.
On Wed, Nov 19, 2008 at 11:51 AM, Michael Wayne Goodman
<goodmami at u.washington.edu> wrote:
> Hello all,
> I'm trying to compare parsed and generated MRS for sentences (within
> the same language).
> It seems that the VPM for a parsed MRS is grammar-external, and the
> generated MRS is mapped back to the grammar-internal properties. For
> example, here is the top event variable for an English sentence
> (processed with the ERG) from the Tanaka corpus:
> INDEX: e2 [ e SF: COMM TENSE: PRES MOOD: INDICATIVE PROG: - PERF: - ]
> INDEX: e2 [ e SF: COMM E.TENSE: PRESENT E.MOOD: INDICATIVE
> E.ASPECT.PROGR: - E.ASPECT.PRF: - ]
> I can understand why parsing and generation yield different VPMs, but
> I would like to know if there is a way to (a) output both the
> grammar-external and grammar-internal versions of the MRS during
> parsing/generation, and (b) easily convert a profile (say, the
> generation profile) from one VPM to the other without having to
> parse/generate the whole thing over again.
> I've attached the batch script used (albeit the Jacy script, but it's
> nearly identical to the ERG one) for your reference.
> Thanks for any help!
> -Michael Wayne Goodman
-Michael Wayne Goodman
More information about the developers