Skip to content

Releases: johnbumgarner/wordhoard

Code refactoring to improved modularization for readability

27 May 15:47
Compare
Choose a tag to compare

Version 1.5.5 is a stable release.

Purpose: Code refactoring to improved modularization for readability and to reduce duplicated code related to error handling and querying.

Multiple modules were refactored to improve readability and reduce duplicated code. The following modules had new Classes added to obtain parts of speech and data extract using BeautifulSoup .

  • antonyms
  • dictionary
  • synonyms

The optional variable sources had been added to following modules. This variable allows you to refine the search sources to fit your requirements.

  • antonyms
  • dictionary
  • synonyms

Type hinting was validated in all functions within all query modules and all utilities modules. Additionally, all parameter names in every function or call have been added. This improves code readability and reduces ambiguity when reviewing the code.

Cloudflare verification was modified with a timeout feature. Using Collins Dictionary as a source can increase the runtime of WordHoard in the following modules.

  • antonyms
  • dictionary
  • synonyms

Signed-off-by: John Bumgarner [email protected]

Code enhancements to fix bugs in cache processing

01 Jun 13:25
Compare
Choose a tag to compare

Version 1.5.4 is a stable release.

Purpose: Code enhancements to improve cache processing related to list output for these modules.

  • antonyms
  • dictionary
  • hypernyms
  • hyponyms
  • synonyms

Updated the colorized text module. And updated console warnings and informational messages with various shades of colorized text.

Signed-off-by: John Bumgarner [email protected]

Code enhancements to improve performance when querying online repositories

21 Mar 15:03
Compare
Choose a tag to compare

Version 1.5.3 is a stable release.

Purpose: Code enhancements to improve performance when querying online repositories and to obtain part of speech category for word being queried.


A ThreadPoolExecutor function and more targeted word extraction was added to the following modules. The ThreadPoolExecutor decreases collection time by almost 50% in some cases. The targeted extraction is designed to find more relevant antonyms, synonyms and definitions.

  • antonyms
  • dictionary
  • synonyms

Type hinting was added to all functions within all query modules and all utilities modules.

Additional Cloudflare verification was added to the query modules. This verification allowed the source Collins Dictionary to be readded to the list of repositories being queried.

Signed-off-by: John Bumgarner [email protected]

Code enhancements of the Translator classes and bug fix

13 Feb 16:14
Compare
Choose a tag to compare

Version 1.5.2 is a stable release.

Fixed the bug identified in the Issue 14:   find_definitions can returns antonyms

Redesigned the Exceptions in these modules:

  • deep_translator.py
  • google_translator.py
  • mymemory_translator.py

Updated the available languages for translations in these modules:

  • deep_translator.py
  • google_translator.py
  • mymemory_translator.py

Added a module for email address verification and one for colorized text for specific error messages sent to the console/terminal.

Updated and tested the dependencies for WordHoard.

Signed-off-by: John Bumgarner [email protected]

Code enhancements (proxy and user agents)

06 Apr 15:28
Compare
Choose a tag to compare

Version 1.5.1 is a stable release.

Proxy enhancements were added to these modules:

  • antonyms
  • dictionary
  • hypernyms
  • hyponyms
  • synonyms

Selectable user agents capabilities were added to these modules:

  • antonyms
  • dictionary
  • hypernyms
  • hyponyms
  • synonyms

The source Collins Dictionary was disabled in WordHoard, because Cloudflare DDoS mitigation service protection was recently added.

Signed-off-by: John Bumgarner [email protected]

Code enhancements (proxy and translation support)

24 Sep 14:50
Compare
Choose a tag to compare

Version 1.5.0 is a stable release.

Proxy support was added to these modules:

  • antonyms
  • dictionary
  • hypernyms
  • hyponyms
  • synonyms

These modules and the homophones module now have configurable output formatting capabilities. The default formatting is a Python List. The secondary format is a Python dictionary.

Updated User-Agents were also added to wordhoard.

Multiple translation modules were also added to wordhoard. These modules are:

Signed-off-by: John Bumgarner [email protected]

Added query rate limiting and additional exception handling

07 Sep 20:39
Compare
Choose a tag to compare

Version 1.4.9 is a stable release.

Rate limiting was added to all modules that query online repositories. Additional exception handling was added to the basic_soup.py module and all modules that query online repositories. This extra exception handling can be used to diagnose issues related to queuing the online repositories

Signed-off-by: John Bumgarner [email protected]

Removed source and leftover debugging code

24 Aug 21:31
Compare
Choose a tag to compare

Version 1.4.8 is a stable release.

One of the original sources being queried was providing questionable synonyms and antonyms. That source was thesaurus.plus.

Version 1.4.8 removed this source from the query pool.

Signed-off-by: John Bumgarner [email protected]

Bugfix linked to changes in a page's navigational structure

15 Aug 15:34
Compare
Choose a tag to compare

Version 1.4.7 is a stable release.

This bugfix was related to the source synonym.com modifying its page navigational structure. This structural change caused the extraction code for the source to fail. It was determined that this change impacted the Wordhoard extraction modules antonyms, synonyms and definitions.

Version 1.4.7 was redesigned to handle this new navigational structure.

Signed-off-by: John Bumgarner [email protected]

Code redesign and enhancements

06 Jul 16:52
adec1e1
Compare
Choose a tag to compare

Version 1.4.6 is a stable release.

The python modules antonyms, dictionary, homophones, hyponyms, hypernyms and synonyms were all redesign into Python Classes. The Classes reduce the complexity of having to call individual sources.

The internal cacheing was improved.

Console logging was disabled and all log entries are now written only to the file wordhoard_error.yaml.

Signed-off-by: John Bumgarner [email protected]