MaartenGr / MaartenGr/BERTopic
Composite seed words (is it supported by default or at least possible without modifications?)
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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