<div dir="ltr"><div><div><div><div><div><div><div>Hi everyone,<br><br>I've released PyDelphin v0.7.0 (available on GitHub (<a href="https://github.com/delph-in/pydelphin/">https://github.com/delph-in/pydelphin/</a>) and PIP (<a href="https://pypi.org/project/pyDelphin/)">https://pypi.org/project/pyDelphin/)</a>), which adds an improved [incr tsdb()] testsuite API (which now allows for programmatic instantiation, left-joins, easier profile inspection, etc.), Prolog export for MRS, and a REPP tokenizer (which offers the same behavior and characterization (cfrom/cto values) as the PET (C++) program, as long as the regexes used are compatible with Python's re module, plus a step-by-step "trace" mode for debugging REPPs). There are numerous bug fixes and minor features added, as well. See the changelog (<a href="https://github.com/delph-in/pydelphin/blob/develop/CHANGELOG.md">https://github.com/delph-in/pydelphin/blob/develop/CHANGELOG.md</a>) for more info.<br><br></div>There are several backward-incompatible changes (again, see the changelog), but I think the only one likely to affect users is the ACE interface change. If you previously used something like:<br><br></div> >>> response = ace.parse(grm, "Abrams slept.")<br></div> >>> mrs = response['RESULTS'][0]['MRS']<br></div><div> >>> drv = response['RESULTS'][0]['DERIV']<br></div><div><br></div>Then these latter two lines need to be changed to the following (which has been available for almost two years now):<br><br></div> >>> mrs = response.result(0)['mrs']<br></div> >>> drv = response.result(0)['derivation']<br><br></div>I've fixed the Bottlenose and Demophin servers and submitted a patch for pydmrs, but there may other code still using the old API.<br><br><div><div><div><div><div><div><div>As always, please send bug reports and feature requests to<br><a href="https://github.com/delph-in/pydelphin/issues">https://github.com/delph-in/pydelphin/issues</a><br><br></div><div>Thanks<br clear="all"></div><div><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Michael Wayne Goodman</div></div></div></div></div></div>
</div></div></div></div></div></div></div></div>