MaartenGr / MaartenGr/BERTopic
How to link data inside topic model to original training data without preprocessed?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 7.8k
- Forks
- 920
- Avg merge
- 22h 24m
- Merged PRs (30d)
- 5
Description
I use bertopic in Chinese .
So I must split the text to token and add space between every 2 tokens, and remove stopwords, and some special symbol, than I input the processed text into bertopic.
And the problem is how can I link the document to the oringinal training data without preprocessed? if I use documents in the model, the data are tokens without stopwords etc., its s weired.
except transform every text again?Somebody get better ideas?
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 source file, test, or entry point is named. Start by tracing how BERTopic accepts processed documents and exposes documents in its topic model, then determine whether original-text mapping can be supported without reprocessing. Done means the relationship between processed and original training data is preserved and verified for the described Chinese-tokenization workflow.
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
- Needs clarification
- Newbie friendliness
- 25/100