How to get generalized keywords within a topic? #2380
Unanswered
ShivamSrng
asked this question in
Q&A
Replies: 1 comment
-
You can remove some redundancy with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I have a huge dataset with me, which consists of students' survey responses, on which I have to perform topic modeling. Now, after completing the entire BERTopic processing and finally getting my results (ngram set to (2, 3) so I have topic keywords that are bigram or trigram), I see my topic keywords have words that can add sentimental information to my topic.
Example: I get a topic as: ["professor", "professor good", "improve professor", and so on]..
For this topic's keyword, it can be inferred that "professor good" is somewhat a positive topic keyword, and "improve professor" can be to some negative comments about a professor, whereas "professor" is just a neutral or generalized keyword.
I am looking to have such generalized keywords, rather than having some sentiment-information adding words in my topic keywords. Is this possible to have such generalized topic keywords through the library? I am happy to refer back to some official library documentation, in case I am missing any parameter that might help me get over this issue.
Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions