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

Ability to purge low count keywords to reduce data.json size #12

Open
jwhco opened this issue Dec 5, 2022 · 2 comments
Open

Ability to purge low count keywords to reduce data.json size #12

jwhco opened this issue Dec 5, 2022 · 2 comments

Comments

@jwhco
Copy link

jwhco commented Dec 5, 2022

The data.json file is getting larger than 100 MB limit on GitHub. Looking into the file I see single word keyword table. Keywords like "He", "a", and "is" don't add value to tag clouds. An option to omit keyword counts under a certain number and/or words under a certain number of characters would reduce file size. This kind of enhancement will lead to a smaller file size plus help user tune tag cloud.

@jwhco
Copy link
Author

jwhco commented Dec 5, 2022

It would also be useful to have an upper limit on keyword counts. Some keywords with thousands of counts are low value. At a minimum short words tend to have least value, especially transition words and verbs.

@jwhco
Copy link
Author

jwhco commented Dec 5, 2022

The big problem is maintaining both withStopwords and withoutStopwords in the data.json for every document in a repository. The trim of word length needs to happen before that point. This will reduce the file size. Plus, if there is one instance of something, I'd rather purge that then note it.

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

1 participant