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

Revisit NER default score value #1190

Open
niwilso opened this issue Oct 18, 2023 · 0 comments
Open

Revisit NER default score value #1190

niwilso opened this issue Oct 18, 2023 · 0 comments

Comments

@niwilso
Copy link
Collaborator

niwilso commented Oct 18, 2023

For some pre-defined recognizers, a default value (e.g., 0.85) is assigned for the NER score when the score is not provided.

For example in https://github.com/microsoft/presidio/blob/main/presidio-analyzer/presidio_analyzer/predefined_recognizers/spacy_recognizer.py

Having a valid number hard-coded as the default can be misleading. We may want to revisit if we want to assign a value that clearly indicates the original score does not exist and double check the default values for all the pre-defined recognizers.

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