MaartenGr / MaartenGr/BERTopic

Positive and negative term in topic search

Open
#466 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hi, all.

I was wondering if there is a way to search for topics that are similar to a certain term while dissimilar to others. That is: something along the lines of Top2Vec's negative keyword parameter in its implementation of search_topics.

I looked around for this, but could not find it. Thanks for any help!

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 with the linked Top2Vec search_topics implementation and compare its negative keyword behavior with BERTopic's topic-search entry point. The issue does not name a BERTopic file or test, so those must be located first. Done means topic search supports a positive term while reducing similarity to a negative term, with coverage for the new behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.