Skip to content
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

Fuzzy results are named 'ent_type' in json output #15

Open
sven-nm opened this issue Mar 4, 2022 · 0 comments
Open

Fuzzy results are named 'ent_type' in json output #15

sven-nm opened this issue Mar 4, 2022 · 0 comments

Comments

@sven-nm
Copy link

sven-nm commented Mar 4, 2022

In the JSON outputs of the scorer, the results corresponding to fuzzy in the csv-output are named ent-type. For instance:

# To get the strict results, you fetch the values of the 'strict'-key : 
results["NE-COARSE-LIT"]["TIME-ALL"]["LED-ALL"][desired_entity_type]["strict"]

#However, to get the fuzzy results, you have to retrieve the values of the 'ent_type' key : 
results["NE-COARSE-LIT"]["TIME-ALL"]["LED-ALL"][desired_entity_type]["ent_type"]

This is a bit confusing. Unless I am missing something, I think the name of the key should be replaced with 'fuzzy'.

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

No branches or pull requests

1 participant