Skip to content

Commit

Permalink
should be using i-id not parse-id as item identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
olzama committed May 13, 2024
1 parent c4bfff1 commit c5b83ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/treebanking-scripts/compare-trees.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c5b83ec

Please sign in to comment.