[developers] how to get grammar-external variable properties in generation profile
Michael Wayne Goodman
goodmami at u.washington.edu
Wed Nov 19 03:51:37 CET 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 10546 bytes
Desc: not available
More information about the developers