[developers] Comparing a profile with a grammar output
Stephan Oepen
oe at ifi.uio.no
Sat Aug 22 18:38:25 CEST 2020
> % ./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