You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to have more friendly and funny doctest text content (instead of "Aha", "Text", ...). It's also nicer for users if the docstring examples are all similar.
One idea, for instance, is to use famous sentences said by movie Superheroes. Here are a few examples:
I have the power!
Flame on!
HULK SMASH!
Holy ____ Batman!
I am the vengeance, I am the night, I am BATMAN!
I am GROOT.
I’m going ghost!
I am the law!
SPOOOON!!!
Just comment below if you would like to work on this. Goals would probably be:
for all doctests outside of representation.py, change them to use some of the sentences from above
for all doctests in representation.py (and maybe also in visualization.py), we purposely currently have doctests that give users nice results (e.g. for the clustering functions we have doctests that are easily separable into clusters so users understand our examples). We might need to add some more example sentences to the list above to create 2-3 "topics" in our pool of examples that the clustering functions will find
as a last step, add this information to the CONTRIBUTING.md so other devs will know about it
The text was updated successfully, but these errors were encountered:
henrifroese
changed the title
Matching Content in our Docstrings
Matching Content in our Doctests
Sep 23, 2020
Hi @henrifroese, this could be a good first issue in order to contribute to TextHero and explore a bit more the package.
I could work on it if nobody is working on.
It would be great to have more friendly and funny doctest text content (instead of "Aha", "Text", ...). It's also nicer for users if the docstring examples are all similar.
One idea, for instance, is to use famous sentences said by movie Superheroes. Here are a few examples:
Just comment below if you would like to work on this. Goals would probably be:
representation.py
, change them to use some of the sentences from aboverepresentation.py
(and maybe also invisualization.py
), we purposely currently have doctests that give users nice results (e.g. for the clustering functions we have doctests that are easily separable into clusters so users understand our examples). We might need to add some more example sentences to the list above to create 2-3 "topics" in our pool of examples that the clustering functions will findCONTRIBUTING.md
so other devs will know about itThe text was updated successfully, but these errors were encountered: