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

Added threshold for calc of difficult words #71

Merged
merged 1 commit into from
Dec 8, 2018

Conversation

bradfordlynch
Copy link
Contributor

As I mentioned in Issue 70 the calculation of Gunning Fog is using the wrong threshold. Since the difficult_words method is used in various places, I added a default value for syllable_threshold which preserves the original behavior for the other methods but allows the Gunning Fog calculation to be corrected.

@alxwrd
Copy link
Member

alxwrd commented Dec 8, 2018

hi @bradfordlynch 👋 !

Thank you for your contribution.

I've opened a seperate issue (#73) to have a look into the other uses of difficult_words.

This looks spot on, excellent!

@alxwrd alxwrd merged commit ed2c221 into textstat:master Dec 8, 2018
alxwrd added a commit that referenced this pull request Apr 6, 2019
alxwrd added a commit that referenced this pull request Apr 9, 2019
alxwrd added a commit that referenced this pull request Apr 9, 2019
* update travis file

* ignore pipfile.lock

* add pipfile for pipenv support

* fix style issues

* revert text_standard test case

* update gunning_fog test from #71

* update lexicon_count test

closes #50. just allow `remove_punc` to remove '&' symbols

* add build badge

* style clean up

* remove requires from pipfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants