delph-in / pydelphin

Python libraries for DELPH-IN
https://pydelphin.readthedocs.io/
MIT License
77 stars 27 forks source link

MRS encoding in prolog #358

Closed arademaker closed 1 year ago

arademaker commented 1 year ago

https://github.com/delph-in/pydelphin/blob/b5c7094691f01a161983224fe78b2ad26e7fea9b/delphin/codecs/mrsprolog.py#L56

Where is the prolog format documented? What PSOA stands for?

The variables properties seems to be ignored no manner how we call encode. Am I right?

goodmami commented 1 year ago

Where is the prolog format documented?

I don't know if it is. I reverse engineered the format by looking at LKB outputs.

What PSOA stands for?

Parameterized State Of Affairs (see http://lists.delph-in.net/archives/developers/2020/003156.html)

The variables properties seems to be ignored no manner how we call encode. Am I right?

Correct. This is because the MRS-Prolog codec follows PyDelphin's Codec API. See the section on Variations. I don't think the Prolog form ever had variable properties encoded, so the codec doesn't support them.