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

Implement Automated Readability Index, Closes #20 ; new PR; Waiting until Checking for NaNs is implemented. #74

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

henrifroese
Copy link
Collaborator

New pull request from #46 as we had some Git problems.

Input checking done with pd.api.types.is_string_dtype. Not a
permanent solution, will be improved by #60 etc.

New pull request from jbesomi#46 as we had some Git problems.

Input checking done with pd.api.types.is_string_dtype. Not a
permanent solution, will be improved by jbesomi#60 etc.

Co-authored-by: Maximilian Krahn <maximilian.krahn@icloud.com>
@jbesomi
Copy link
Owner

jbesomi commented Jul 13, 2020

This looks very good!

The only question: "Score is NaN if it cannot be computed (e.g. if the number of sentences is 0).", are we testing this scenario there?

Better check for NaNs and non-string values at the beginning.

Additional test in test_visualization for NaNs.
@henrifroese
Copy link
Collaborator Author

henrifroese commented Jul 13, 2020

You're right, I totally missed that. I just improved the testing at the beginning of the function in a new commit. I also added a test for that in test_visualization.

@jbesomi
Copy link
Owner

jbesomi commented Jul 15, 2020

Henri, probably this function will fail this test: #86. What if we put this aside as a draft for a moment, work on the rest, and come back to that later after having implemented #86 in a couple of weeks?

@henrifroese
Copy link
Collaborator Author

Yes, makes sense

@henrifroese henrifroese marked this pull request as draft July 15, 2020 08:28
@henrifroese henrifroese changed the title Implement Automated Readability Index, Closes #20 ; new PR Implement Automated Readability Index, Closes #20 ; new PR; Waiting until Checking for NaNs is implemented. Jul 27, 2020
@henrifroese henrifroese added the enhancement New feature or request label Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants