Case sensitive in name #1405
-
I have tried the AnalyzerEngine() with the following two text and get different answers. The only difference between them is their upper vs lower cases.
How can I correctly detect the person name in text 1? Code: text = 'THOMAS, PATRICIA JANE' text = "Thomas, Patricia Jane" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, the default spaCy model has limited accuracy on uppercase and lowercase words. I would suggest to try a few model examples on the demo website and change the underlying model. There are lots of examples showing how to do this. |
Beta Was this translation helpful? Give feedback.
Hi, the default spaCy model has limited accuracy on uppercase and lowercase words. I would suggest to try a few model examples on the demo website and change the underlying model. There are lots of examples showing how to do this.
https://huggingface.co/spaces/presidio/presidio_demo