Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes: #218
Describe the add-ons or changes you've made 📃
Since pydictionary is outdated and relies on goslate (which is problematic), you might want to switch to another dictionary library, such as PyMultiDictionary, which are more compatible with Python 3.
pdated Dictionary Calls: Use .meanings(), .synonyms(), and .antonyms() methods instead of directly accessing properties.
Result Handling: Check if a result is returned and provide a warning if no result is found.
Error Handling: Added exception handling to manage any unexpected issues gracefully.
Give a clear description of what have you added or modifications made
The error you're seeing occurs because pydictionary relies on the goslate package, which in turn depends on the outdated futures library. The futures library is only compatible with Python 2 and causes syntax errors in Python 3 environments. Hence used PyMultiDictionary.
Checklist: ☑️
Screenshots 📷
dictionary.webm