SpacyEntityExtractor case sensitive issue

Hi All,

I am extracting Name entity using SpacyEntityExtractor.

Below is the issue:

if the bot user has entered his first name like “my first name is ‘Bill’ (First letter Captial)”, Spacy is able to extract Name entity properly.

But if the bot user entered his first name like my first name is ‘bill’ (small letters only), Spacy is not able to extract Name entity properly.

I know that people write their names in Captial letters mostly and Spacy is trained like that still is there any way to solve this problem like convert input text into Capital letters before passing into intent classification or any suggestions.

You can create a custom component. Split your string and use the capitalize function.

But i have my doubts that this solution is optimal. Cause of the capital letter Spacy could extract other words as names too.