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

Word cloud splits words on accent #74

Open
AlexGibson12 opened this issue Dec 30, 2020 · 1 comment
Open

Word cloud splits words on accent #74

AlexGibson12 opened this issue Dec 30, 2020 · 1 comment

Comments

@AlexGibson12
Copy link

image

If I include for instance the word fettsäuren, the word cloud will generate the two words "fetts" and "uren". I saw someone elsewhere talking about a seperate word cloud library suggesting it could have something to do with the regex used to split words?

@helios1138
Copy link

@AlexGibson12 this library doesn't handle tokenization, it's just rendering what you give it. To support Unicode characters in words, I use /[\p{L}']+/gu in my word splitting code.

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

No branches or pull requests

2 participants