presidio icon indicating copy to clipboard operation
presidio copied to clipboard

Revisit NER default score value

Open niwilso opened this issue 1 year ago • 0 comments

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.

niwilso avatar Oct 18 '23 18:10 niwilso