Wonderwords 2.2 is out!
Added
- Added
CHANGELOG.md
. - Added custom word categories.
- The Rich library is now an optional dependency.
- Bumped dependency version numbers.
- Added a list of profanities.
- Refactored code.
- Removed profanities by default.
- Added singular forms of categories as default such as "noun" instead of
"nouns".
Changed
- Changed the implementation behind the scenes. Now, word lists are loaded once
and reused between instances of theRandomWord
class. This is more
efficient. - Changed the implementation of
RandomSentence
to make up for the changes in
RandomWord
. RandomWord.parts_of_speech
will soon be deprecated.- The
include_parts_of_speech
argument for RandomWord methods will soon be
deprecated. The alternative is nowinclude_categories
.