<div dir="ltr">Thanks, Mike! I will give that a try (soon, I hope...)<div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 19, 2019 at 8:15 PM <a href="mailto:goodman.m.w@gmail.com">goodman.m.w@gmail.com</a> <<a href="mailto:goodman.m.w@gmail.com">goodman.m.w@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"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi Emily,</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">Sorry I'm probably too late for your demo, but PyDelphin is able to read and write to any schema you give it, and "refreshing" profiles to new schemas is an expected use case. This information exists in the API documentation (<a href="https://pydelphin.readthedocs.io/en/latest/api/delphin.commands.html#mkprof" target="_blank">https://pydelphin.readthedocs.io/en/latest/api/delphin.commands.html#mkprof</a>) but unfortunately has not yet made its way to a more user-friendly guide.</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">As long as the changes are minor (inserting empty columns or moving columns around within a single file), there is no data loss. With PyDelphin v1.0, the command looks like this:</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"> delphin mkprof --refresh --relations path/to/updated/relations path/to/profile</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">This will overwrite the profile using the given relations file as its schema. Add the --gzip option if you want non-empty files (except 'relations') to be gzipped, otherwise they will be written in plain text. For more information about options, run 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"> delphin mkprof --help</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">Hope that helps!<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">-mwg<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 19, 2019 at 11:56 PM Emily M. Bender <<a href="mailto:ebender@uw.edu" target="_blank">ebender@uw.edu</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"><div dir="ltr">Thanks for the speedy reply! When I try double-click, I get a message in the *common-lisp* buffer saying that the profile is out of date.<div><br></div><div>Attempting the pathway you suggested above resulted in a complaint of an arity mismatch in `item'. </div><div><br></div><div>For context: This is for a demo I'm doing today to show a bunch of field linguists what grammar engineering could potentially do for them. So I've been trying to dust off the wambaya profiles, but I have work arounds.</div><div><br></div><div>Emily</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 19, 2019 at 7:25 AM Stephan Oepen <<a href="mailto:oe@ifi.uio.no" target="_blank">oe@ifi.uio.no</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"><div><div dir="auto">hiya,</div><div dir="auto"><br></div><div dir="auto">technically, these profiles are considered read-only, because [incr tsdb()] will refuse to write to out-of-date database schemas.</div><div dir="auto"><br></div><div dir="auto">but i would have expected double-click (to parse interactively) to work ... what happens?</div></div><div dir="auto"><br></div><div dir="auto">to treebank, on the other hand, does require write access. it might work to (a) make a copy of the profile, (b) throw away all files except ‘item’, (c) copy in a current ‘relations’ file, and initialize an empty set of new relations via a command like ‘tsdb -home . -query "select i-input"’.</div><div dir="auto"><br></div><div dir="auto">good luck :-)! oe</div><div dir="auto"><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 19 Sep 2019 at 16:09 Emily M. Bender <<a href="mailto:ebender@uw.edu" target="_blank">ebender@uw.edu</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"><div dir="ltr">Dear all,<div><br></div><div>Do we have a simple way to take an old (circa 2010) set of profiles and update them to the current expected database format? The profiles in question are the ones I put together for Wambaya and I can still open them with the modern [incr tsdb()] but I can't do everything I'd like (double click to send for parsing, annotating trees).</div><div><br></div><div>Thanks,</div><div>Emily</div></div><div dir="ltr"><div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Emily M. Bender<br>Howard and Frances Nostrand Endowed Professor</div><div dir="ltr"><span style="font-size:12.8px">Department of Linguistics</span></div><div><span style="font-size:12.8px">Faculty Director, CLMS</span></div><div><span style="font-size:12.8px">University of Washington</span></div><div>Twitter: @emilymbender</div></div></div></div></div></div></div></div></div></div>
</blockquote></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_-2259941640407859916gmail-m_3265588667662573135gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Emily M. Bender<br>Howard and Frances Nostrand Endowed Professor</div><div dir="ltr"><span style="font-size:12.8px">Department of Linguistics</span></div><div><span style="font-size:12.8px">Faculty Director, CLMS</span></div><div><span style="font-size:12.8px">University of Washington</span></div><div>Twitter: @emilymbender</div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail-m_-2259941640407859916gmail_signature">-Michael Wayne Goodman</div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Emily M. Bender<br>Howard and Frances Nostrand Endowed Professor</div><div dir="ltr"><span style="font-size:12.8px">Department of Linguistics</span></div><div><span style="font-size:12.8px">Faculty Director, CLMS</span></div><div><span style="font-size:12.8px">University of Washington</span></div><div>Twitter: @emilymbender</div></div></div></div></div></div></div></div>