MaartenGr / MaartenGr/KeyBERT

How can I use the KeyBERT if I have tokenized Chinese documents by myself?

Open
#186 1 comment 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

I have seen the #45 and the [api document](https://maartengr.github.io/KeyBERT/faq.html#how-can-i-use-keybert-with-chinese-documents), but I only find the usage of using customize tokenizer before extracting keyword.
I'm wondering if I could use the `extract_embedding` without giving the vectorizer, that is I pass the **Chinese** documents that have been tokenized.
Does this work well, or the current model must use the tokenizer?
If possible, could you give me some example?

Thanks a lot~

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

Start with issue #45 and the Chinese-documents FAQ entry, then inspect the usage around extract_embedding and the vectorizer. Determine whether pre-tokenized Chinese documents are supported and document a working example or the limitation, with the FAQ clearly answering the question.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.