-
Notifications
You must be signed in to change notification settings - Fork 101
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
Addition of remove_by_threshold #18
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Included the wordnet and stopwords corpus from nltk and modals. This is later used to check known words. Using the WordFrequncy dictionary to validate words would end up passing words with errors. For example: "teh" passed as a correct word as it existed in the word frequency list but it should have been corrected to "the". 2. Modified def known to check the existence of words in the combined corpus of wordnet, stopwords and modals rather than the word frequency list.
Added 'shall' to the list of modals
Update fork to original
This request adds the remove_by_threshold functionality to help user remove words under a provided frequency threshold
2 similar comments
@ksingha5 Thank you for the PR! Unfortunately I have already merged a very similar approach to get this accomplished! It will be available in the next release, which hopefully will be by the end of the week. (Give myself a deadline!) Thank you for your insights and suggestions! P |
Thank you @barrust ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Provides a way for the user to remove words from the word frequency list under a user provided frequency threshold.
Let me know your thoughts!
Would help resolve #16