Skip to content

Fix bug in NE calculation for Neuroparl-ST#43

Open
jorirsan wants to merge 1 commit intomainfrom
fix-ne-bug-neuroparl
Open

Fix bug in NE calculation for Neuroparl-ST#43
jorirsan wants to merge 1 commit intomainfrom
fix-ne-bug-neuroparl

Conversation

@jorirsan
Copy link
Collaborator

@jorirsan jorirsan commented Mar 5, 2026

This PR fixes a bug which affected the Neuroparl-ST evaluations, and updates the resulting scores.

Bug Description

Previously, following the original paper script, ne_terms_accuracy.py required .txt for input. These were originally created by using jq and selecting the output keys on the .json output logs, saving into temporary files.
This however caused some issues, because in some cases \n appeared on output, leading to a erroneous segmentation and correspondence between source and target sentences.

Solution

The ne_terms_accuracy.py now directly loads the output .json files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant