MaartenGr / MaartenGr/BERTopic

Arabic text with visualize_documents

Open
#1,038 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

If the topics in Arabic or similar language there will be a problem visualizing them with visualize_documents function .. the text should be edited to be appropriate to be displayed in Plotly gra
![Screenshot 2023-02-23 211900](https://user-images.githubusercontent.com/100883775/220995882-f8a98c12-1fbd-41b3-95d2-a20e8eba7f96.png)
phs.

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 at the visualize_documents entry point and reproduce the reported Arabic-topic rendering problem shown in the screenshot. Trace how topic text is passed into Plotly graphs, then verify that Arabic and similar right-to-left text displays appropriately in the generated visualization.

Written by the indexing model from the issue text.

Assessment

Tech stack
plotly, python
Domain
data-visualization, internationalization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.