-
Notifications
You must be signed in to change notification settings - Fork 27
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
Implement predicate modification for EDS #156
Comments
@PKUzilin, can you share what command or script you used in the conversion, and whether you started from the MRS or EDS representation? Thank you |
|
Ok thanks, I just confirmed it. Note that it works if you use When I get a chance I'll see if I can resolve the EDS issue somehow. In the meantime you can try using DMRS instead of EDS, as PyDelphin has much better support for that representation. |
Thanks a lot for the helpful info! |
@PKUzilin |
Thank you so much! I also found that the last version of pydelphin I used cannot convert some of the EDS/DMRS graphs into json format. I will let you know if the latest one still has that problem. |
Yes, the "predicate modification" fix covers a large share of the disconnected graphs, but not all, and it's not really possible to "fix" all disconnected graphs in a principled way. Rather, I think PyDelphin should not crash when encountering a graph it cannot serialize. It should either (a) output nothing, or (b) output just the connected part. Then it should continue to the next item, possibly with a warning about the broken item. I've created #161 for this. If you come up with some specific MRSs that break JSON (or PENMAN) serialization, please start a new issue. It might be a different problem than the one for this issue. Thanks! |
See here: #130 (comment)
"By 1997, almost all remaining uses of cancer-causing asbestos will be outlawed."
The text was updated successfully, but these errors were encountered: