Search code examples
nlpopennlpstanford-nlp

How to identify, if a person is talking about himself or others in a sentence


I am new to NLP. I want to identify from a sentence, whether the person is talking about himself or others. Can anyone suggest a way to do so?

I am thinking that based on personal pronouns in sentence we can say if the person is talking about himself or others.

I am looking for ways to identify if the person is talking about himself or others, by using POS tagging or a syntactic parser etc.

Thanks in advance


Solution

  • SO, you're talking about Coreference Resolution system which links multiple mentions of an entity in a document together.

    take at look at this blog which is about coreference Resolution in OpenNLP.

    Here's the OpenNLP Documentation

    hope this helps.