<div dir="ltr">Hi Dan,<div><br></div><div>Thank you! The ACE version used to compile the grammar and the one for fftb are both ACE version 0.9.23.</div><div><br></div><div>David</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jun 24, 2017 at 12:42 AM, Dan Flickinger <span dir="ltr"><<a href="mailto:danf@stanford.edu" target="_blank">danf@stanford.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_3922405050389813813divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Hi David,</p>
<p><br>
</p>
<p>One thing you might check is to see which version number of ACE you used to compile your grammar to produce the .dat file. The fftb uses a version of ACE is sometimes a little behind the latest version of ACE. If there is a mismatch, you can just recompile
your grammar using the slightly older version of ACE that the fftb is using, and then try invoking fftb again.
<br>
</p>
<p><br>
</p>
<p> Dan<br>
</p>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div id="m_3922405050389813813divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> <a href="mailto:developers-bounces@emmtee.net" target="_blank">developers-bounces@emmtee.net</a> <<a href="mailto:developers-bounces@emmtee.net" target="_blank">developers-bounces@emmtee.net</a><wbr>> on behalf of David Moeljadi <<a href="mailto:davidmoeljadi@gmail.com" target="_blank">davidmoeljadi@gmail.com</a>><br>
<b>Sent:</b> Friday, June 23, 2017 12:06 AM<br>
<b>To:</b> <a href="mailto:developers@delph-in.net" target="_blank">developers@delph-in.net</a><br>
<b>Subject:</b> [developers] Treebanking with FFTB</font>
<div> </div>
</div><div><div class="h5">
<div>
<div dir="ltr">Dear all,
<div><br>
</div>
<div>
<div>I tried to do treebanking with FFTB, using the command lines in <a href="http://moin.delph-in.net/CapitolHillTreebank" id="m_3922405050389813813LPlnk914250" target="_blank">
http://moin.delph-in.net/<wbr>CapitolHillTreebank</a>.</div>
<div>I could see the FFTB page in my Firefox browser (screenshot attached), but when I clicked the sentences (for example 11 Hujan turun), I got a page "404 Not Found" (screenshot attached), I could not see the tree or the discriminants.</div>
<div>Did I miss something here?</div>
<div><br>
</div>
<div>====</div>
<div>~/grammar/ind$ fftb -g ind.dat /tmp/mrs-demo/ --browser --gold /tsdb/gold/mrs</div>
<div>grammar image: ind.dat</div>
<div>Just one TSDB profile: /tmp/mrs-demo/</div>
<div>Would update from profile: ../ind/tsdb/gold/mrs</div>
<div>listening on <a href="http://127.0.0.1:53055/private/" id="m_3922405050389813813LPlnk105446" target="_blank">
http://127.0.0.1:53055/<wbr>private/</a></div>
<div>should GET /private/</div>
<div>should GET /favicon.ico</div>
<div>...</div>
<div>[1031]<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>{0 decisions}<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap">
</span>UCSTAT: input 0 edges, output 0 edges</div>
<div>{0 edges}<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>
{0 trees} no gold<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>
writing tsdb relation 'tree' with 172 tuples</div>
<div><br>
</div>
<div>[1041]<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>{1 decisions}<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap">
</span>UCSTAT: input 4 edges, output 3 edges</div>
<div>{3 edges}<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>
{1 / 1 trees active}<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>
different<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>writing tsdb relation 'tree' with 172 tuples</div>
<div><br>
</div>
<div>[1042]<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>{0 decisions}<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap">
</span>UCSTAT: input 6 edges, output 5 edges</div>
<div>{5 edges}<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>
{1 trees} no gold<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>
writing tsdb relation 'tree' with 172 tuples</div>
<div><br>
</div>
<div>[1051]<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>{1 decisions}<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap">
</span>UCSTAT: input 4 edges, output 3 edges</div>
<div>{3 edges}<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>
{1 / 1 trees active}<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>
different<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>writing tsdb relation 'tree' with 172 tuples</div>
<div><br>
</div>
<div>[1061]<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>{0 decisions}<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap">
</span>found a stored forest, but couldn't use it.</div>
<div>-> no usable stored forest</div>
<div>unable to get parse forest for 1061</div>
<div>writing tsdb relation 'tree' with 172 tuples</div>
<div><br>
</div>
<div>[1062]<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>{0 decisions}<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap">
</span>found a stored forest, but couldn't use it.</div>
<div>-> no usable stored forest</div>
<div>unable to get parse forest for 1062</div>
<div>writing tsdb relation 'tree' with 172 tuples</div>
<div><br>
</div>
<div>[1071]<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>{2 decisions}<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap">
</span>UCSTAT: input 12 edges, output 10 edges</div>
<div>{10 edges}<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>
{0 / 2 trees active}<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>
writing tsdb relation 'tree' with 172 tuples</div>
<div><br>
</div>
<div>[1072]<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>{2 decisions}<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap">
</span>UCSTAT: input 9 edges, output 7 edges</div>
<div>{7 edges}<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>
{0 / 2 trees active}<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>
writing tsdb relation 'tree' with 172 tuples</div>
<div><br>
</div>
<div>should GET /private/parse?profile=/&id=<wbr>11</div>
<div>item id 11 -> input 'Hujan turun.'</div>
<div>profile parse id 11</div>
<div>gold parse id 11</div>
<div>preferred gold result id 0</div>
<div>-> got gold preferred tree 0xf05fd0</div>
<div>-> loaded stored forest</div>
<div>found stored forest (4 edges connected to 1 roots).<br/></div>
<div>UCSTAT: input 4 edges, output 3 edges</div>
<div>should GET /private/session?0</div>
<div>should GET /private/parse?profile=/&id=<wbr>1041</div>
<div>...</div>
<div>TIMERS (792 calls = ~ 108,5µs overhead):</div>
<div>get decisions <span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap">
</span>1,4ms<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>for 102 events = 13,5µs per event</div>
<div>load gold tree <span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap">
</span>0,7ms<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>for 53 events = 13,0µs per event</div>
<div>load forest <span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap">
</span>8,9ms<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>for 171 events = 51,9µs per event</div>
<div>unary closure <span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap">
</span>2,5ms<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>for 117 events = 21,2µs per event</div>
<div>count solutions <span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap">
</span>122,6µs<span class="m_3922405050389813813gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>
for 162 events = 0,8µs per event</div>
<div>~/grammar/ind$ </div>
<div>====</div>
</div>
<div><br>
</div>
<div>Also, <span style="font-size:12.8px">I tried calling it without --gold /dir/ (screenshot attached) but still the same, I got "404 Not Found" when I clicked the sentences.</span></div>
<span class="m_3922405050389813813gmail-im" style="font-size:12.8px">
<div>===</div>
<div>~/grammar/ind$ fftb -g ind.dat /tmp/mrs-demo/ --browser</div>
</span>
<div style="font-size:12.8px">grammar image: ind.dat</div>
<div style="font-size:12.8px">listening on <a href="http://127.0.0.1:38959/private/" id="m_3922405050389813813LPlnk515355" target="_blank">http://127.0.0.1:38959/priv<wbr>ate/</a></div>
<span class="m_3922405050389813813gmail-im" style="font-size:12.8px">
<div>should GET /private/</div>
<div>should GET /favicon.ico</div>
<div>...</div>
</span>
<div style="font-size:12.8px">
<div>should GET /private/parse?profile=/&id=1<wbr>42</div>
<div>item id 142 -> input 'Dia menggonggong.'</div>
<div>profile parse id 142</div>
<div>-> loaded stored forest</div>
<div>found stored forest (3 edges connected to 1 roots).<br/></div>
<div>UCSTAT: input 3 edges, output 3 edges</div>
<div>should GET /private/session?0</div>
<span class="m_3922405050389813813gmail-im">
<div>should GET /private/parse?profile=/&id=1<wbr>1</div>
<div>item id 11 -> input 'Hujan turun.'</div>
<div>profile parse id 11</div>
</span><span class="m_3922405050389813813gmail-im">
<div>-> loaded stored forest</div>
<div>found stored forest (4 edges connected to 1 roots).<br/></div>
<div>UCSTAT: input 4 edges, output 3 edges</div>
<div>should GET /private/session?1</div>
</span>
<div>should GET /private/parse?profile=/&id=2<wbr>1</div>
<div>item id 21 -> input 'Adi menggonggong.'</div>
<div>profile parse id 21</div>
<div>-> loaded stored forest</div>
<div>found stored forest (3 edges connected to 1 roots).<br/></div>
<div>UCSTAT: input 3 edges, output 3 edges</div>
<div>should GET /private/session?2</div>
<div>should GET /private/exit</div>
<div>TIMERS (0 calls = ~ 0,0µs overhead):</div>
<div>~/grammar/ind$ </div>
</div>
<div style="font-size:12.8px">===</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Best regards,</div>
<div style="font-size:12.8px">David</div>
</div>
</div>
</div></div></div>
</div>
</div>
</blockquote></div><br></div>