4
$\begingroup$

I am working on a natural language processing data problem and I have selected some keywords from it as features. I want to group them under one heading. But I can't find any method or algorithm to do that? I tried topic modelling using MALLET. It groups similar words into a cluster. I want a heading or subject attached to them.

Is there a way to group similar words under one topic and assign them a title?


There are a number of different features that need to get one topic like picture quality camera selfie resolution that should come under camera. Need something that groups these things I enter words and it gives me the topic.

$\endgroup$
2
$\begingroup$

If you have already selected the keywords you want grouped, why not write a function that finds all occurrences of words in the list and replaces it with your one, core word?

What you're describing sounds like a more advanced version of stemming.

| improve this answer | |
$\endgroup$

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.