Reputation: 1313
I am new to NLP using node js and I am trying to figure out NLP libraries that are available to figure out if a word is a human name in a given text.
Any help related to libraries or code samples or any ideas on how to approach this problem in nodeJS is much appreciated.
Thank you.
Upvotes: 4
Views: 3511
Reputation: 159
You can use compromise NLP library — it can tag PERSON in a text. Note, no NLP library can offer you 100% accuracy!
Upvotes: 4
Reputation: 330
you should try Named Entity Recognition(NER) Tools and Services for example if you have this query:
Barack Hussein Obama II is an American politician
the result was this
for more information:
http://nlp.stanford.edu:8080/corenlp/process
https://huggingface.co/transformers/usage.html
Upvotes: 0