[developers] Treebanking with FFTB

David Moeljadi davidmoeljadi at gmail.com
Fri Jun 23 09:06:30 CEST 2017


Dear all,

I tried to do treebanking with FFTB, using the command lines in
http://moin.delph-in.net/CapitolHillTreebank.
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.
Did I miss something here?

====
~/grammar/ind$ fftb -g ind.dat /tmp/mrs-demo/ --browser --gold
/tsdb/gold/mrs
grammar image: ind.dat
Just one TSDB profile: /tmp/mrs-demo/
Would update from profile: ../ind/tsdb/gold/mrs
listening on http://127.0.0.1:53055/private/
should GET    /private/
should GET    /favicon.ico
...
[1031] {0 decisions} UCSTAT: input 0 edges, output 0 edges
{0 edges} {0 trees} no gold writing tsdb relation 'tree' with 172 tuples

[1041] {1 decisions} UCSTAT: input 4 edges, output 3 edges
{3 edges} {1 / 1 trees active} different writing tsdb relation 'tree' with
172 tuples

[1042] {0 decisions} UCSTAT: input 6 edges, output 5 edges
{5 edges} {1 trees} no gold writing tsdb relation 'tree' with 172 tuples

[1051] {1 decisions} UCSTAT: input 4 edges, output 3 edges
{3 edges} {1 / 1 trees active} different writing tsdb relation 'tree' with
172 tuples

[1061] {0 decisions} found a stored forest, but couldn't use it.
-> no usable stored forest
unable to get parse forest for 1061
writing tsdb relation 'tree' with 172 tuples

[1062] {0 decisions} found a stored forest, but couldn't use it.
-> no usable stored forest
unable to get parse forest for 1062
writing tsdb relation 'tree' with 172 tuples

[1071] {2 decisions} UCSTAT: input 12 edges, output 10 edges
{10 edges} {0 / 2 trees active} writing tsdb relation 'tree' with 172 tuples

[1072] {2 decisions} UCSTAT: input 9 edges, output 7 edges
{7 edges} {0 / 2 trees active} writing tsdb relation 'tree' with 172 tuples

should GET    /private/parse?profile=/&id=11
item id 11 -> input 'Hujan turun.'
profile parse id 11
gold parse id 11
preferred gold result id 0
-> got gold preferred tree 0xf05fd0
-> loaded stored forest
found stored forest (4 edges connected to 1 roots).<br/>
UCSTAT: input 4 edges, output 3 edges
should GET    /private/session?0
should GET    /private/parse?profile=/&id=1041
...
TIMERS (792 calls = ~ 108,5µs overhead):
get decisions                   1,4ms for 102 events = 13,5µs per event
load gold tree                   0,7ms for 53 events = 13,0µs per event
load forest                     8,9ms for 171 events = 51,9µs per event
unary closure                   2,5ms for 117 events = 21,2µs per event
count solutions                 122,6µs for 162 events = 0,8µs per event
~/grammar/ind$
====

Also, I tried calling it without --gold /dir/ (screenshot attached) but
still the same, I got "404 Not Found" when I clicked the sentences.
===
~/grammar/ind$ fftb -g ind.dat /tmp/mrs-demo/ --browser
grammar image: ind.dat
listening on http://127.0.0.1:38959/private/
should GET    /private/
should GET    /favicon.ico
...
should GET    /private/parse?profile=/&id=142
item id 142 -> input 'Dia menggonggong.'
profile parse id 142
-> loaded stored forest
found stored forest (3 edges connected to 1 roots).<br/>
UCSTAT: input 3 edges, output 3 edges
should GET    /private/session?0
should GET    /private/parse?profile=/&id=11
item id 11 -> input 'Hujan turun.'
profile parse id 11
-> loaded stored forest
found stored forest (4 edges connected to 1 roots).<br/>
UCSTAT: input 4 edges, output 3 edges
should GET    /private/session?1
should GET    /private/parse?profile=/&id=21
item id 21 -> input 'Adi menggonggong.'
profile parse id 21
-> loaded stored forest
found stored forest (3 edges connected to 1 roots).<br/>
UCSTAT: input 3 edges, output 3 edges
should GET    /private/session?2
should GET    /private/exit
TIMERS (0 calls = ~ 0,0µs overhead):
~/grammar/ind$
===

Best regards,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.delph-in.net/archives/developers/attachments/20170623/9080b1da/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2017-06-21 16:20:56.png
Type: image/png
Size: 115508 bytes
Desc: not available
URL: <http://lists.delph-in.net/archives/developers/attachments/20170623/9080b1da/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2017-06-21 16:19:49.png
Type: image/png
Size: 14285 bytes
Desc: not available
URL: <http://lists.delph-in.net/archives/developers/attachments/20170623/9080b1da/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2017-06-21 17:45:04.png
Type: image/png
Size: 86544 bytes
Desc: not available
URL: <http://lists.delph-in.net/archives/developers/attachments/20170623/9080b1da/attachment-0005.png>


More information about the developers mailing list