Skip to content
Snippets Groups Projects
Commit e71cb62d authored by wesenberg's avatar wesenberg
Browse files

amr_error

parent a4694af6
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ def calc_smatch_to_r(name, source, summary, graph_source, graph_summary):
smatch_pred = calc_one_smatch(graph_source=graph_source, graph_summary=graph_summary)
if smatch_pred == (0, 0, 0):
if smatch_pred[0] == 0:
safe_smatch_error(name=name + "_null", one=source, two=summary, recall=0, precision=None, smatch_pred=smatch_pred,
graph_source=graph_source, graph_summary=graph_summary)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment