IBM / transition-amr-parser

SoTA Abstract Meaning Representation (AMR) parsing with word-node alignments in Pytorch. Includes checkpoints and other tools such as statistical significance Smatch.
Apache License 2.0
245 stars 48 forks source link

Update mbse.py #52

Open Zoher15 opened 1 year ago

Zoher15 commented 1 year ago

if the variable graph.top has attributes, the previous line was overwriting its list of attributes with a single one: ('top,'TOP'). This change appends the attribute instead.

Not sure if it helps, since get_triples() is not called by the pipeline....