-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Counting spurious entities #15
Comments
Hi Andy, thanks very much for taking the time to create an issue. Looking at the code, it looks like I was unsure about this too as I left this comment:
What do you think about it @davidsbatista? |
Also @anjiefang you may be interested to see that we started to convert this code into a module here https://github.com/ivyleavedtoadflax/nervaluate, although we've not got too much further yet. I have a task coming up for which I will need to use it, so I hope to get more time to develop it in the near future. |
I'm working with the library and I've found a (i think) mistake in this part of the code. NOTE: when pred.e_type is not found in tags but there is no check to ensure that the predicted label is not in the label set. Maybe it is neccesary to add |
Hi @amlarraz. Many thanks for your comment. Could you possibly open a PR for this? |
No problem, I've just created the pull request. |
Hi,
I found an issue when counting
spurious
. In lines 317-322 inner_eval.py
, if a spurious entity is found,+1
is performed for all types of entities. Shoud it be performed for only one type of entity? :change to
?
Thanks.
Andy.
The text was updated successfully, but these errors were encountered: