<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hello developers,</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">Recently I wanted to try out Elementary Dependency Match (EDM) but I did not find an easy way to do it. I saw lisp code in the LKB&#39;s repository and Bec&#39;s Perl code, but I&#39;m not sure how to call the former from the command line and the latter seems outdated (I don&#39;t see the &quot;export&quot; command required by its instructions).</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">The Dridan &amp; Oepen, 2011 algorithm was simple enough so I though I&#39;d implement it on top of PyDelphin. The result is here: <a href="https://github.com/delph-in/delphin.edm">https://github.com/delph-in/delphin.edm</a>. It requires the latest version of PyDelphin (v1.2.0). It works with MRS, EDS, and DMRS, and it reads text files or [incr tsdb()] profiles.<br></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">When I nearly had my version working I found that Stephan et al.&#39;s mtool (<a href="https://github.com/cfmrp/mtool">https://github.com/cfmrp/mtool</a>) also had an implementation of EDM, so I used that to compare with my outputs (as I couldn&#39;t get the previous implementations to work). In this process I think I found some differences from Dridan &amp; Oepen, 2011&#39;s description, and this email is to confirm those findings. Namely, that mtool&#39;s (and now my) implementation do the following:</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">* CARGs are treated as property triples (&quot;class 3 information&quot;). Previously they were combined with the predicate name. This change means that predicates like &#39;named&#39; will match even if their CARGs don&#39;t and the CARGs are a separate thing that needs to be matched.</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">* The identification of the graph&#39;s TOP counts as a triple.<br></div><div><br></div><div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">One difference between mtool and delphin.edm is that mtool does not count &quot;variable&quot; properties from EDS, but that&#39;s just because its EDS parser does not yet handle them while PyDelphin&#39;s does.<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">Can anyone familiar with EDM confirm the above? Or can anyone explain how to call the Perl or LKB code so I can compare?</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">-Michael Wayne Goodman</div></div>