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

Compatibility for Chinese #4

Open
jsnleong opened this issue Mar 22, 2023 · 3 comments
Open

Compatibility for Chinese #4

jsnleong opened this issue Mar 22, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@jsnleong
Copy link

Hi! Thanks for this awesome package!

Currently am applying this package on Chinese language text corpus. The output generated are "empty squares" - the reason behind this is that we need to use explicit Language fonts (.tff file which I have). Any idea how to incorporate this external font file to this package for use?

Thanks!

@x-tabdeveloping
Copy link
Owner

Hello!
Is it all graphs, or is this only the wordclouds?

@x-tabdeveloping
Copy link
Owner

This Stackoverflow thread could be of use to you.

Since topicwizard is essentially just a dash app, you can deal with this the same way they do.
For the main file I would use the get_dash_app function so that you have a more direct access to the underlying application object.
I can't confirm if this actually works, but it's worth a try ;)

@x-tabdeveloping
Copy link
Owner

As for the wordclouds, I will try to expose the font API somehow, I will post to this thread when I've made progress.

@x-tabdeveloping x-tabdeveloping added the bug Something isn't working label Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants