Skip to content

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

Draft
henrifroese wants to merge 3 commits intojbesomi:masterfrom
SummerOfCode-NoHate:Automated_Readability_Index_new_pr
Draft

Implement Automated Readability Index, Closes #20 ; new PR; Waiting until Checking for NaNs is implemented.#74
henrifroese wants to merge 3 commits intojbesomi:masterfrom
SummerOfCode-NoHate:Automated_Readability_Index_new_pr

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>
@henrifroese henrifroese marked this pull request as ready for review July 13, 2020 12:24
@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