-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
find_definitions can returns antonyms #14
Comments
Thanks for pointing this out. Let me look at this issue. |
Sure.
|
I fixed the problem locally by editing line 150 in "dictionary.py": was: check_cache = caching.cache_antonyms(self._word) |
Thanks. I will make this change and push out an update. Is there anything else that this package is missing that would be useful? |
This issue was fixed in WordHoard v1.5.2, which was pushed to GitHub this morning. This release will be pushed to PyPi today. |
Find definitions will sometimes return antonyms because the antonym cache is checked by mistake.
Returns
----------
:return: list of definitions
:rtype: list
"""
valid_word = self._validate_word()
if valid_word:
check_cache = caching.cache_antonyms(self._word)
The text was updated successfully, but these errors were encountered: