[developers] ACE + ERG: no fragments?
Tuấn Anh Lê
tuananh.ke at gmail.com
Wed Aug 2 01:52:20 CEST 2017
Hi Olga,
There is a way to achieve that by selecting a different root (passing -r
[rootname] to ace). You can see a list of different roots in the file
roots.tdl. For example:
*echo "a big dog" | ace -g erg.dat -1Tf*
SENT: a big dog
[ LTOP: h0
INDEX: e2 [ e SF: prop-or-ques ]
RELS: < [ unknown_rel<0:9> LBL: h1 ARG0: e2 ARG: x4 [ x PERS: 3 NUM: sg
IND: + ] ]
[ _a_q_rel<0:1> LBL: h5 ARG0: x4 RSTR: h6 BODY: h7 ]
[ "_big_a_1_rel"<2:5> LBL: h8 ARG0: e9 [ e SF: prop TENSE: untensed MOOD:
indicative PROG: bool PERF: - ] ARG1: x4 ]
[ "_dog_n_1_rel"<6:9> LBL: h8 ARG0: x4 ] >
HCONS: < h0 qeq h1 h6 qeq h8 >
ICONS: < > ]
NOTE: 1 readings, added 611 / 61 edges to chart (26 fully instantiated, 34
actives used, 19 passives used) RAM: 1120k
NOTE: parsed 1 / 1 sentences, avg 1120k, time 0.00606s
*echo "a big dog" | ace -g erg.dat -1Tf -r root_spoken_frag*
SENT: a big dog
[ LTOP: h0
INDEX: e2 [ e SF: prop-or-ques ]
RELS: < [ unknown_rel<0:9> LBL: h1 ARG0: e2 ARG: x4 [ x PERS: 3 NUM: sg
IND: + ] ]
[ _a_q_rel<0:1> LBL: h5 ARG0: x4 RSTR: h6 BODY: h7 ]
[ "_big_a_1_rel"<2:5> LBL: h8 ARG0: e9 [ e SF: prop TENSE: untensed MOOD:
indicative PROG: bool PERF: - ] ARG1: x4 ]
[ "_dog_n_1_rel"<6:9> LBL: h8 ARG0: x4 ] >
HCONS: < h0 qeq h1 h6 qeq h8 >
ICONS: < > ]
NOTE: 1 readings, added 611 / 61 edges to chart (26 fully instantiated, 34
actives used, 19 passives used) RAM: 1120k
NOTE: parsed 1 / 1 sentences, avg 1120k, time 0.00567s
*echo "a big dog" | ace -g erg.dat -1Tf -r root_informal*
NOTE: 0 readings, added 611 / 61 edges to chart (26 fully instantiated, 34
actives used, 19 passives used) RAM: 1093k
SKIP: a big dog
NOTE: parsed 0 / 1 sentences, avg 1093k, time 0.00576s
Hope this helps :)
On 2 August 2017 at 06:01, Olga Zamaraeva <olzama at uw.edu> wrote:
> It appears that by default, fragments are on when I am parsing with ACE +
> ERG. Is there a way to disable that? I would like to only use fragments
> when there are no non-fragments results.
>
> I see in the config file for ERG: "fragment-only rules" but that does not
> seems to be the flag I am looking for?
>
> Thanks!
> Olga
>
--
Yours,
--
Tuan Anh Le
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.delph-in.net/archives/developers/attachments/20170802/239b07a2/attachment.html>
More information about the developers
mailing list