MaartenGr / MaartenGr/BERTopic

Is there a option where I can add few topic words to topics?

Open
#1,649 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
7.8k
Forks
920
Avg merge
22h 24m
Merged PRs (30d)
5

Description

Hi @MaartenGr ,
Is there any option like I can add my own set of words to an topic generated by an BERTopic model?

Like assume, I have a 2 topics with topic_labels 1_cat_cats_paws and 2_dog_dogs_puppy generated from my dataset .
Now can I add some extra words to these topics like 1_cat_cats_paws_kitten_cute and 2_dog_dogs_puppy_bark

Note :- Here, words like kitten, cute and bark are my words(not generated by the model) that I need to add in the topics already created by the BERTopic model...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue describes adding user-supplied words to existing BERTopic topic labels but names no file, test, or entry point. First clarify whether this should change labels only or the topic representation itself; done should define the expected API and resulting labels for the cat and dog examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.