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

Allowing: Minimum Word Length & Frequencies of Numbers #465

Merged
merged 19 commits into from
Mar 12, 2019

Conversation

the-rccg
Copy link
Contributor

Added parameters to WordCloud() to allow for filtering frequencies of numbers, as well as filtering by minimum length of a word.
Numbers are useful for visualizing patterns in numbers, dummy example using random numbers and the first 10,000 digits of pi.
Minimum word length is a simple way for filtering out functional words in foreign languages without having to write stopword lists or use pre-defined functional word collections. Examples filters A New Hope with length rather than stopwords.
Note: obviously not the most efficient implementations, but kept these in line with the style of the rest of the package.

@@ -0,0 +1,4 @@
{
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you please remove this file?

@amueller
Copy link
Owner

I would maybe not add two more examples as there already are quite a few. Can you maybe add one and also add tests for the two new options? Thanks!

@the-rccg
Copy link
Contributor Author

Will do a clean pull request again, with just one commit and remove the files. Sorry about that.

@amueller
Copy link
Owner

amueller commented Jan 29, 2019 via email

@amueller
Copy link
Owner

looks good, thanks!

@amueller amueller merged commit 64ff55e into amueller:master Mar 12, 2019
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.

2 participants