Personalized relevance classifier of sentences

Download Article as PDF

In this article I would like just to pitch idea about personalized classifier, and I would like to hear your opinion if this approach could be good and what can be problems with it. So what is the problem? I would like to build personalized relevance classifier.

Problem definition

Every user is tracking mentions of some term on internet or social media. Terms are usually brands they want to watch if they are some marketing guys or business owners, or some events, names etc. Since term can be ambiguous, user has opportunity to tell the program that some sentence is irrelevant for him. For example if user enter “Apple”, first it will show all mentions of Apple company and fruit called apple. If user don’t want to see fruits anymore, he marks couple of sentences that are referencing to fruits and application should learn how to distinguish relevant sentences against irrelevant ones. Also we can call this classifier “Personalized relevance classifier“.


Idea behind solution

When we look at the problem we see that solution lays in creating classifier for each word that each user enters for following. Of course, when he enters word, there is no data, so no classifier and all the data is shown. When user starts to label sentences that are not relevant to him, behind that action is one machine learning task to build classifier from that data.

Since there is too much data to hold structures for these classifiers in memory we would need to hold these structures in database. When user labels sentences, in database will be created id for that classifier, and under that id sentences, words and word counts will be stored, creating structure for Naive Bayes or some other classifier. User should not need to classify all his current data, just some selected frame. But in that frame (for example one day, or 100 sentences), he needs to label all the sentences. Doing this classifier will be built and it will filter the output data. User will be able to ignore classifier (show all data) or to rebuild classifier.


I would appreciate all the suggestions about building personalized classifier for users. If anyone has some experience doing this, please leave a comment or contact me. I hope I was concise describing ideas. Also if you see problems in this approach, let me know.

Born in Bratislava, Slovakia, lived in Belgrade, Serbia, now living in Manchester, UK, and visitng the world. Nikola is a great enthusiast of AI, natural language processing, machine learning, web application security, open source, mobile and web technologies. Looking forward to create future. Nikola has done PhD in natural language processing and machine learning at the University of Manchester where he worked for 2 years. In 2020, Nikola moved to Berlin and works in Bayer Pharma R&D as a computational scientist.

1 thought on “Personalized relevance classifier of sentences

  1. Hi Nikola,

    I am currently working to cluster relevant sentences respective to entity. like for example : in a meeting people have discussed or gave their opinions on entities like say IBM , DELL. opinions like how good are these industry doing ? and many more. sentences can be descriptive, explanatory , complementary , comparative , question type..etc.
    I want to gather/cluster sentences which are talking of respective entity. like sentences related to IBM should cluster to one. similarly for DELL.

    looked for latest work. couldn’t find good solution.

    do you have any ideas on this ? because i saw your post on StackOverflow. thought , you might have cracked this.

    Thanks in Advance.

Leave a Reply

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