[developers] LUI binaries in the main LKB repository

Alexandre Rademaker arademaker at gmail.com
Mon Mar 18 16:55:35 CET 2019


Hi Woodley,

Thank you for your answer, I am really trying to have some results for the next weeks. Thanks for clarifying the csaw vs ace, I will double-check if the wiki contains this explanation. Do you have any reference about these tools? A thesis or a paper? 

About the SEGV in FFTB, the most important issue for me now (!), yes, the error didn’t happen with a particular sentence or analysis. I tried more than one sentence and possible analysis and the error happens when I accept or reject the analysis. Can  you help me on that?

The browser shows a dialog with

unexpected http code: 502 = <html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx</center>
</body>
</html>

The prompt shows the 

user at 5c28c0838435:~/acetools-x86-0.9.30$ ./fftb -g ~/ace-0.9.30-x86-64/erg-2018-x86-64-0.9.30.dat --webdir ~/fftb-osx/assets/ ~/repsol/repsol-100-ff/
grammar image: /home/user/ace-0.9.30-x86-64/erg-2018-x86-64-0.9.30.dat
listening on http://127.0.0.1:9080/private/
should GET    /private/
should GET    /private/parse?profile=/&id=24
item id 24 -> input 'Thus, reserves are in multiple stratigraphic horizons in most oilfield units (table 2).'
profile parse id 24
-> loaded stored forest
found stored forest (1033 edges connected to 56 roots).<br/>
UCSTAT: input 1033 edges, output 994 edges
should GET    /private/session?0
should GET    /private/assets/render.js
should GET    /private/assets/control.js
should POST    /session?0;1;;
should POST    /session?0;0;;aj_-_i_le:=:4-5:0&_olddecs=
constraint: aj_-_i_le [4-5] type 2
should POST    /session?0;0;;aj_-_i_le:=:4-5:0&w_lparen_plr at n_-_c_le:=:11-12:0&_olddecs=
constraint: aj_-_i_le [4-5] type 2
constraint: w_lparen_plr at n_-_c_le [11-12] type 2
should POST    /session?0;0;;aj_-_i_le:=:4-5:0&w_lparen_plr at n_-_c_le:=:11-12:0&hdn_np-num_c at w_period_plr@aj_-_i-crd-gen_le:=:12-13:0&_olddecs=
constraint: aj_-_i_le [4-5] type 2
constraint: w_lparen_plr at n_-_c_le [11-12] type 2
constraint: hdn_np-num_c at w_period_plr@aj_-_i-crd-gen_le [12-13] type 2
should POST    /session?0;0;;aj_-_i_le:=:4-5:0&w_lparen_plr at n_-_c_le:=:11-12:0&hdn_np-num_c at w_period_plr@aj_-_i-crd-gen_le:=:12-13:0&aj-hdn_norm_c:=:9-11:0&_olddecs=
constraint: aj_-_i_le [4-5] type 2
constraint: w_lparen_plr at n_-_c_le [11-12] type 2
constraint: hdn_np-num_c at w_period_plr@aj_-_i-crd-gen_le [12-13] type 2
constraint: aj-hdn_norm_c [9-11] type 2
should POST    /session?0;0;;aj_-_i_le:=:4-5:0&w_lparen_plr at n_-_c_le:=:11-12:0&hdn_np-num_c at w_period_plr@aj_-_i-crd-gen_le:=:12-13:0&aj-hdn_norm_c:=:9-11:0&v_np_are_le:=:2-3:0&_olddecs=
constraint: aj_-_i_le [4-5] type 2
constraint: w_lparen_plr at n_-_c_le [11-12] type 2
constraint: hdn_np-num_c at w_period_plr@aj_-_i-crd-gen_le [12-13] type 2
constraint: aj-hdn_norm_c [9-11] type 2
constraint: v_np_are_le [2-3] type 2
should POST    /session?0;0;;aj_-_i_le:=:4-5:0&w_lparen_plr at n_-_c_le:=:11-12:0&hdn_np-num_c at w_period_plr@aj_-_i-crd-gen_le:=:12-13:0&aj-hdn_norm_c:=:9-11:0&v_np_are_le:=:2-3:0&aj-hdn_adjn_c:=:4-7:0&_olddecs=
constraint: aj_-_i_le [4-5] type 2
constraint: w_lparen_plr at n_-_c_le [11-12] type 2
constraint: hdn_np-num_c at w_period_plr@aj_-_i-crd-gen_le [12-13] type 2
constraint: aj-hdn_norm_c [9-11] type 2
constraint: v_np_are_le [2-3] type 2
constraint: aj-hdn_adjn_c [4-7] type 2
should POST    /session?0;0;;aj_-_i_le:=:4-5:0&w_lparen_plr at n_-_c_le:=:11-12:0&hdn_np-num_c at w_period_plr@aj_-_i-crd-gen_le:=:12-13:0&aj-hdn_norm_c:=:9-11:0&v_np_are_le:=:2-3:0&aj-hdn_adjn_c:=:4-7:0&hdn_bnp_c at hdn-aj_redrel_c:=:4-9:0&_olddecs=
constraint: aj_-_i_le [4-5] type 2
constraint: w_lparen_plr at n_-_c_le [11-12] type 2
constraint: hdn_np-num_c at w_period_plr@aj_-_i-crd-gen_le [12-13] type 2
constraint: aj-hdn_norm_c [9-11] type 2
constraint: v_np_are_le [2-3] type 2
constraint: aj-hdn_adjn_c [4-7] type 2
constraint: hdn_bnp_c at hdn-aj_redrel_c [4-9] type 2
should POST    /session?0;0;;aj_-_i_le:=:4-5:0&w_lparen_plr at n_-_c_le:=:11-12:0&hdn_np-num_c at w_period_plr@aj_-_i-crd-gen_le:=:12-13:0&aj-hdn_norm_c:=:9-11:0&v_np_are_le:=:2-3:0&aj-hdn_adjn_c:=:4-7:0&hdn_bnp_c at hdn-aj_redrel_c:=:4-9:0&sb-hd_mc_c:=:1-13:0&_olddecs=
constraint: aj_-_i_le [4-5] type 2
constraint: w_lparen_plr at n_-_c_le [11-12] type 2
constraint: hdn_np-num_c at w_period_plr@aj_-_i-crd-gen_le [12-13] type 2
constraint: aj-hdn_norm_c [9-11] type 2
constraint: v_np_are_le [2-3] type 2
constraint: aj-hdn_adjn_c [4-7] type 2
constraint: hdn_bnp_c at hdn-aj_redrel_c [4-9] type 2
constraint: sb-hd_mc_c [1-13] type 2
should POST    /session?0;0;;aj_-_i_le:=:4-5:0&w_lparen_plr at n_-_c_le:=:11-12:0&hdn_np-num_c at w_period_plr@aj_-_i-crd-gen_le:=:12-13:0&aj-hdn_norm_c:=:9-11:0&v_np_are_le:=:2-3:0&aj-hdn_adjn_c:=:4-7:0&hdn_bnp_c at hdn-aj_redrel_c:=:4-9:0&sb-hd_mc_c:=:1-13:0&w_comma_plr at av_-_dc-like-pr_le:=:0-1:0&_olddecs=
constraint: aj_-_i_le [4-5] type 2
constraint: w_lparen_plr at n_-_c_le [11-12] type 2
constraint: hdn_np-num_c at w_period_plr@aj_-_i-crd-gen_le [12-13] type 2
constraint: aj-hdn_norm_c [9-11] type 2
constraint: v_np_are_le [2-3] type 2
constraint: aj-hdn_adjn_c [4-7] type 2
constraint: hdn_bnp_c at hdn-aj_redrel_c [4-9] type 2
constraint: sb-hd_mc_c [1-13] type 2
constraint: w_comma_plr at av_-_dc-like-pr_le [0-1] type 2
should POST    /session?0;0;;aj_-_i_le:=:4-5:0&w_lparen_plr at n_-_c_le:=:11-12:0&hdn_np-num_c at w_period_plr@aj_-_i-crd-gen_le:=:12-13:0&aj-hdn_norm_c:=:9-11:0&v_np_are_le:=:2-3:0&aj-hdn_adjn_c:=:4-7:0&hdn_bnp_c at hdn-aj_redrel_c:=:4-9:0&sb-hd_mc_c:=:1-13:0&w_comma_plr at av_-_dc-like-pr_le:=:0-1:0&hdn_optcmp_c at n_pl_olr@n_pp_c-of_le:=:10-11:0&_olddecs=
constraint: aj_-_i_le [4-5] type 2
constraint: w_lparen_plr at n_-_c_le [11-12] type 2
constraint: hdn_np-num_c at w_period_plr@aj_-_i-crd-gen_le [12-13] type 2
constraint: aj-hdn_norm_c [9-11] type 2
constraint: v_np_are_le [2-3] type 2
constraint: aj-hdn_adjn_c [4-7] type 2
constraint: hdn_bnp_c at hdn-aj_redrel_c [4-9] type 2
constraint: sb-hd_mc_c [1-13] type 2
constraint: w_comma_plr at av_-_dc-like-pr_le [0-1] type 2
constraint: hdn_optcmp_c at n_pl_olr@n_pp_c-of_le [10-11] type 2
should POST    /session?0;0;;aj_-_i_le:=:4-5:0&w_lparen_plr at n_-_c_le:=:11-12:0&hdn_np-num_c at w_period_plr@aj_-_i-crd-gen_le:=:12-13:0&aj-hdn_norm_c:=:9-11:0&v_np_are_le:=:2-3:0&aj-hdn_adjn_c:=:4-7:0&hdn_bnp_c at hdn-aj_redrel_c:=:4-9:0&sb-hd_mc_c:=:1-13:0&w_comma_plr at av_-_dc-like-pr_le:=:0-1:0&hdn_optcmp_c at n_pl_olr@n_pp_c-of_le:=:10-11:0&_olddecs=
constraint: aj_-_i_le [4-5] type 2
constraint: w_lparen_plr at n_-_c_le [11-12] type 2
constraint: hdn_np-num_c at w_period_plr@aj_-_i-crd-gen_le [12-13] type 2
constraint: aj-hdn_norm_c [9-11] type 2
constraint: v_np_are_le [2-3] type 2
constraint: aj-hdn_adjn_c [4-7] type 2
constraint: hdn_bnp_c at hdn-aj_redrel_c [4-9] type 2
constraint: sb-hd_mc_c [1-13] type 2
constraint: w_comma_plr at av_-_dc-like-pr_le [0-1] type 2
constraint: hdn_optcmp_c at n_pl_olr@n_pp_c-of_le [10-11] type 2
should POST    /comment?0&
Segmentation fault


Best,

--
Alexandre Rademaker
http://arademaker.github.io


> On 18 Mar 2019, at 04:24, Woodley Packard <sweaglesw at sweaglesw.org> wrote:
> 
> Hi Alexandre,
> 
> It looks like you sorted out the --auto option (it invokes an update from an earlier gold profile, and hence requires the --gold option as well).
> 
> Regarding csaw vs ace --pcfg, they do related but distinct things.  Invoking csaw by itself uses only the PCFG to choose a tree.  When you use ace with --pcfg, it invokes csaw internally to get that same tree, and then uses the regular ERG (or whatever unification-based grammar you specify) to actually parse the sentence, adding the csaw tree and all the constituents in it as additional possibilities.  In some cases the csaw tree will be selected as the best possibility, but more often (I believe) you will get ERG native analyses or frankentrees containing some mixture.
> 
> In FFTB, SEGV upon accept/reject is of course not the most desirable outcome.   Does that happen no matter which item you are working on, and no matter which analysis you pick?
> 
> Slow to reply but still wanting to be helpful,
> Woodley




More information about the developers mailing list