I am trying to build a news tagging system. Given a piece of news article, find 5-6 key terms from the news article that best describe the article. Refer to the image below from google news.

enter image description here

What are some approaches I can look at to get human readable tags ?


You can get the tags for the headline or news content using NLP. Tags are generally noun chunks, entities or the action mentioned in the headline. You need to perform standard steps of text processing i.e remove stop words, tokenize sentence into words, do stemming or lemmatization then parse it to extract information. Most of these are already implemented. Look into spaCy or use NLTK.

You can also look into SVO (Subject, verb, object model) to assign tags. SpaCy provides an easy way to do this, do check it out.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.