[developers] Comparing a profile with a grammar output

Alexandre Rademaker arademaker at gmail.com
Sat Aug 22 20:31:21 CEST 2020


Done, https://github.com/cfmrp/mtool/issues/78, but I saw that you just fixed the error! Thank you.

> On 22 Aug 2020, at 13:38, Stephan Oepen <oe at ifi.uio.no> wrote:
> 
>> % ./main.py --read eds --score mrp --gold ../sick/1.eds ../sick/2.eds
>> Traceback (most recent call last):
>>  File "./main.py", line 472, in <module>
>>    main();
>>  File "./main.py", line 385, in main
>>    result = score.mces.evaluate(gold, graphs,
>>  File "/Users/ar/hpsg/mtool/score/mces.py", line 493, in evaluate
>>    for id, g, s, tops, labels, properties, anchors, \
>>  File "/Users/ar/hpsg/mtool/score/mces.py", line 490, in <genexpr>
>>    results = (schedule(g, s, rrhc_limit, mces_limit, trace, errors)
>>  File "/Users/ar/hpsg/mtool/score/mces.py", line 441, in schedule
>>    raise e;
>>  File "/Users/ar/hpsg/mtool/score/mces.py", line 389, in schedule
>>    = g.score(s, mapping);
>>  File "/Users/ar/hpsg/mtool/graph.py", line 856, in score
>>    = tuples(self, identities1);
>>  File "/Users/ar/hpsg/mtool/graph.py", line 771, in tuples
>>    anchors.add((identity, anchor));
>> TypeError: unhashable type: ‘list'
> 
> could you report that in the mtool issue tracker (on M$ GitHub),
> ideally attaching the two input files?  i shall have a look :-).
> 
> oe




More information about the developers mailing list