MaartenGr / MaartenGr/KeyBERT

Semantic Double-Pass Merging for improved keyphrase generation

Open
#260 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
4.2k
Forks
385
PR merge metrics
No merged PRs in 30d

Description

Does it makes sence to utilize SDPM algorythm for keyBERT? This basically looks similarity forward, and then for the second time looks backward. This can be applicable to the keyphrases to better group them and the second pass can remove or split the words in a keyphrase if its not close enough.

Double-pass merging approach first groups content by semantic similarity, then merges similar groups within a skip window, allowing it to connect related content that may not be consecutive in the text. This technique is particularly useful for documents with recurring themes or concepts spread apart.

Here is explanation of how this works.
https://bitpeak.com/chunking-methods-in-rag-methods-comparison/
https://docs.chonkie.ai/chunkers/sdpm-chunker

Contributor guide

No contributing guide indexed for this repository

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

Read the linked SDPM explanations first, then inspect KeyBERT's current keyphrase grouping and similarity flow. Define how a forward and backward pass should group recurring concepts and split weakly related words, and identify how the result can be evaluated against the existing behavior.

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.