<div><div dir="auto">i am glad you are making progress, alexandre!  the WSI indexer should be able to parse those export files, though ordinarily we only export and index the active result(s)—assuming you have manually disambiguated?</div></div><div dir="auto"><br></div><div dir="auto">the grammar is needed to export because derived formats (e.g. labeled trees, MRS, EDS, DM) are computed dynamically, i.e. the export `interprets‘ each recorded derivation using the full grammar, including its MRS, EDS, et al. output configuration.</div><div dir="auto"><br></div><div dir="auto">using the `—cat‘ option should give you the sequence of LKB and [incr tsdb()] function calls.  i am afraid there is no formal documentation of the export format, but your schematic summary almost seems self-explanatory!</div><div dir="auto"><br></div><div dir="auto">best wishes, oe</div><div dir="auto"><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">ons. 8. jul. 2020 kl. 20:51 skrev Alexandre Rademaker &lt;<a href="mailto:arademaker@gmail.com">arademaker@gmail.com</a>&gt;:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div><br></div><div>I forgot to copy the list.</div><div><br></div><div>Best,</div><div>Alexandre</div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><br><blockquote type="cite"><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgba(0,0,0,1.0)"><b>From: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif">Alexandre Rademaker &lt;<a href="mailto:arademaker@gmail.com" target="_blank">arademaker@gmail.com</a>&gt;<br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgba(0,0,0,1.0)"><b>Subject: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif"><b>Exporting profile</b><br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgba(0,0,0,1.0)"><b>Date: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif">8 July 2020 15:47:22 GMT-3<br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgba(0,0,0,1.0)"><b>To: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif">Stephan Oepen &lt;<a href="mailto:oe@ifi.uio.no" target="_blank">oe@ifi.uio.no</a>&gt;<br></span></div><br><div><div><br>Hi Stephan,<br><br>I was able to export the profile with:<br><br>$ ./redwoods --binary --terg --home /home/user/tmp/ --target /tmp --export mrs,eds --active all treebank<br><br>(The name of my profile is `treebank` and it is located in /home/user/tmp. I discovered the parameter `home` and the possibility to specify the last version of ERG with `terg`).<br><br>That is nice, the parsing of profile files is not so trivial task and doesn’t make sense to not use the code already available. I wonder if the output format is document. For each item in the profile, I got a .gz file like that:<br><br>[1] (1 of 3) {1} [ the text of the sentence ]<br>^L<br>[1:0] (active)<br><br>[the mrs text representation]<br><br>[the eds text representation]<br><br>^L<br>[1:1] (inactive)<br><br>[the mrs...]<br><br>[the eds...]<br><br>^L<br>[1:2] (inactive)<br><br>[the mrs...]<br><br>[the eds...]<br><br><br>I would also like to understand what is the minimal Lisp code to export a profile using the functions from the tsdb and lkb packages. Given that, I would not depend on the scripts. I would be able to start a lisp REPL and do it interactively. I was expecting to be able to learn it with the `source` parameter, but I didn’t get any result.<br><br>Why do I need the grammar to export the profile? Sorry, maybe the answer to  this question is a long one, an article or wiki page! ;-) I remember that I have already read somewhere that some formats need the grammar or the SEM-I interface, right?<br><br><br>Best,<br>Alexandre<br></div></div></blockquote></div><br></div></blockquote></div></div>