Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Create word cloud interface from Hashmap. #15

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jizizr
Copy link

@jizizr jizizr commented May 16, 2024

Since the default tokenizer does not segment Chinese text well, I have added an interface that generates a word cloud based on words and their corresponding weights. This allows users to use other tokenizers to segment the text and obtain a hash table containing keys and their frequencies, and then generate a word cloud based on this hash table.

This PR does not break any public interfaces.

PS: I apologize for the code formatting changes in this PR, as my cargo fmt was automatically invoked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant