From c5b83ec00020e576a83dc2f80e703b1e18a10433 Mon Sep 17 00:00:00 2001 From: olzama Date: Mon, 13 May 2024 15:42:20 +0200 Subject: [PATCH] should be using i-id not parse-id as item identifier --- util/treebanking-scripts/compare-trees.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/treebanking-scripts/compare-trees.py b/util/treebanking-scripts/compare-trees.py index 8ab60fb..8854daf 100644 --- a/util/treebanking-scripts/compare-trees.py +++ b/util/treebanking-scripts/compare-trees.py @@ -36,7 +36,7 @@ def compare_treebanks(old_path, new_path): if n_deriv not in n_derivs: n_derivs.append(n_deriv) if o_deriv != n_deriv: - print('Differences found in item {}: {}'.format(o['parse-id'], old_response['i-input'])) + print('Differences found in item {}: {}'.format(old_response['i-id'], old_response['i-input'])) identical = False if len(orr) != len(nrr): identical = False