<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi Alexandre,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I can answer a couple of your questions.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 7, 2021 at 9:44 AM Alexandre Rademaker <<a href="mailto:arademaker@gmail.com" target="_blank">arademaker@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail_default" style="font-family:arial,helvetica,sans-serif">[...]</span><br><br>
1. <a href="http://chimpanzee.ling.washington.edu/demophin/erg/parse" rel="noreferrer" target="_blank">http://chimpanzee.ling.washington.edu/demophin/erg/parse</a> displays only DMRS. Who is the author of the dmrs.js? The DMRSs are transformed into SVG… <br></blockquote><div><br></div><div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">I'm the author of dmrs.js. I used an old version of D3.js to create the SVG from the JSON serialization of DMRS that was developed for the DELPH-IN Web API (called ErgAPI in the wiki: <a href="http://moin.delph-in.net/wiki/ErgApi" target="_blank">http://moin.delph-in.net/wiki/ErgApi</a>). Here are some links for the JSON (and other) serializations of MRS and EDS:<br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">* <a href="http://moin.delph-in.net/wiki/MrsRfc#JSON" target="_blank">http://moin.delph-in.net/wiki/MrsRfc#JSON</a></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">* <a href="http://moin.delph-in.net/wiki/EdsTop#Alternative_Serializations" target="_blank">http://moin.delph-in.net/wiki/EdsTop#Alternative_Serializations</a></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">You can also see examples of each in PyDelphin's documentation:</div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">* <a href="https://pydelphin.readthedocs.io/en/latest/api/delphin.codecs.html" target="_blank">https://pydelphin.readthedocs.io/en/latest/api/delphin.codecs.html</a></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">Demophin is quite old and deprecated, but the demo instance at <a href="http://washington.edu" target="_blank">washington.edu</a> still has some value in that the newer delphin-viz demo doesn't do generation. The dmrs.js file was updated a bit for delphin-viz, but it's basically the same thing, along with the MRS and derivation tree function provided by Ned Letcher. You can find the code for Demophin here, but I'm not working on it anymore: <a href="https://github.com/goodmami/demophin" target="_blank">https://github.com/goodmami/demophin</a></div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
2. <a href="http://delph-in.github.io/delphin-viz/demo/" rel="noreferrer" target="_blank">http://delph-in.github.io/delphin-viz/demo/</a>. It shows derivation trees, MRS and DRMSs. Uses <a href="https://github.com/delph-in/delphin-viz" rel="noreferrer" target="_blank">https://github.com/delph-in/delphin-viz</a>, it is the state-of-the-art solution for displaying DELPH-IN structures? I didn't find documentation; how should my backend provide the data to allow this code to load/parse and display them on a page?<br></blockquote><div><br></div><div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">It's the non-LOGON state-of-the-art solution, I guess. Ned and I put it together a while back. There's two parts: the visualization functions and a demo that uses them. You can use the visualization functions without using the demo, if you like. This implementation also differs from Demophin in that it is only the client-side components, and it calls to some other server (e.g., UiO's LOGON one or UW's PyDelphin-based one) for parsing. This setup allows us to host the demo on <a href="http://github.io" target="_blank">github.io</a>.</div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">For serving data, I recommend using PyDelphin's web package: <a href="https://pydelphin.readthedocs.io/en/latest/api/delphin.web.html" target="_blank">https://pydelphin.readthedocs.io/en/latest/api/delphin.web.html</a>. The delphin.web.server module makes it pretty easy to point to a grammar image and serve responses to parse or generate requests, or to point to profiles and serve the stored representations (note, this is only the API; there's no front end for this feature yet). The server will provide EDS if requested, so if you have some front end that can display them, it's ready to go. I think dmrs.js could easily be adapted to display EDS, if you can't get the LOGON one working.<br></div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<span class="gmail_default" style="font-family:arial,helvetica,sans-serif">[...]</span><br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr">-Michael Wayne Goodman</div></div>