-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
DOC Fix documentation of default values in sklearn.feature_extraction.text.py #18360
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
Conversation
Co-authored-by: Roman Yurchak <[email protected]>
Hi, I'm still new to this, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be worth to correct all the docstring of the module using the doc guideline
Co-authored-by: Guillaume Lemaitre <[email protected]>
Co-authored-by: Guillaume Lemaitre <[email protected]>
Co-authored-by: Guillaume Lemaitre <[email protected]>
I didn't understand at first how to work with backslash inside a docstring so that caused some problems, but now it works. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh yes, it seems we reached the same conclusion. The only change between the pull requests I see is adding r prefix in r''' instead of ''' in the docstring. I am not sure it is needed. should I close this? |
The main difference is how the regular expression is rendered in the documentation:
I would not close this PR, changing |
@alfaro96 , @haiatn , I'm fine if you take over all the modifications: I think that @thomasjpfan and I agreed that raw docstring is a good way to solve the rendering issue and this PR could be merged quickly... :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small comment on analyzer
, otherwise LGTM.
Co-authored-by: Thomas J. Fan <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
….text.py (scikit-learn#18360) Co-authored-by: Roman Yurchak <[email protected]> Co-authored-by: Guillaume Lemaitre <[email protected]> Co-authored-by: Thomas J. Fan <[email protected]>
….text.py (scikit-learn#18360) Co-authored-by: Roman Yurchak <[email protected]> Co-authored-by: Guillaume Lemaitre <[email protected]> Co-authored-by: Thomas J. Fan <[email protected]>
….text.py
Reference Issues/PRs
Partially addresses #15761
What does this implement/fix? Explain your changes.
two parameters of token_pattern have a default value so I added it.
Any other comments?