python: recognize persons name on text using spacy or nltk

 

currently using scrapy, but gives a lot of false positives (tells me that a word is indeed a persons name when its not), and false negative (tells me that it not a persons name when it is).

 

For example my name (ricardo) which is a fairly common name is not recognized by the scrapy en_core_web_lg library. this seems absurd.

 

I will try to take a look at NLTK, that just as Spacy if natural language processor and me be able to get better results.

 

 

interesting take

https://realpython.com/natural-language-processing-spacy-python/

 

Leave a Reply

Your email address will not be published. Required fields are marked *