-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update to last Pydelphin #4
Comments
@arademaker thanks, but really this repository is not code that I maintain. It is more a record of what was used for a previous experiment. See also #3 (comment). I should archive the repo to make that clear. PyDelphin now has a native Penman codec (actually two, one for DMRS and another for EDS). I suggest you use those for the conversion. |
Indeed, I understood that. This repo could be identified as part of the https://github.com/shlurbee/dmrs-text-generation-naacl2019 and, as you said, just code to reproduce the paper. But I would appreciate your advice on which part of the code does what. I am assuming that besides reading the profiles and transform the MRSs in DMRS, the code in this repo also deals with the linearization of the penman (figure 2 from the paper https://aclanthology.org/N19-1235.pdf) am I right? But I didn't identified the code to deal with quotations and Wikipedia markup mentioned in the appendix of the paper. Maybe you were just reporting what you know people did for preparing the profiles part of the wikiwoods? |
It is specified in
Yes. More recent versions of PyDelphin have support for the conversion to PENMAN, but not in the same way as was done for this experiment.
I think that is here: https://github.com/shlurbee/dmrs-text-generation-naacl2019/blob/master/preprocessing.py |
This is related to #2
mrs-to-penman/mrs_to_penman.py
Lines 73 to 101 in 5939e42
Hi @goodmami , it looks like the code for
read_profile
can be replaced by:Does it make sense? I didn't find in the current version of the gold profiles from ERG any reference to the
p-results
relation.The text was updated successfully, but these errors were encountered: