MaartenGr / MaartenGr/BERTopic

When I use topic_model.visualize_barchart () for visualization, can I customize the first 5 topic words of the theme

Open
#2,438 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Have you searched existing issues? 🔎
  • I have searched and found no existing issues
Desribe the bug

When I use topic_model.visualize_barchart () for visualization, can I customize the first 5 topic words of the theme

Reproduction
from bertopic import BERTopic

BERTopic Version

0.17.0

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

Start by inspecting the BERTopic visualize_barchart entry point and reproduce the reported call against version 0.17.0. Determine how the first five topic words are selected and clarify the intended customization; done means the chart supports that choice without changing existing visualization behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization, machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.