MaartenGr / MaartenGr/BERTopic

Composite seed words (is it supported by default or at least possible without modifications?)

Open
#1,788 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

Is the use of composite meaning seed words possible?
Like for instance: "body dysphoria" (dysphoria by itself can mean multiple things, when associated with body is closer to a topic that I'm looking for).

If it is not supported by default, what would be the easiest way to implement this?

Would something like passing "body dysphoria", vectorizing it and including it as a vector directly into the seed list work? (by including extra logic into how seed words are handled)

Or would it be possible only with a custom tokenizer rule?

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

No file or test is named. Start by tracing the existing seed-word handling and tokenizer behavior for multi-word inputs, then determine whether composite phrases can be supported as seed entries or require custom tokenization. Done means the supported behavior and implementation path are clearly defined.

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.