If you're like me and tag a lot of words you don't know while reading ebooks - this will help you to finally go through your notes. In my case I need it for English - German (as seen in the script). This little project will find synonyms and translations for the words tagged. Some shade on the way: Since the googletrans
(Google Translate API) library is not performing really well with translations (see yourself), I also translate their synonyms. This could be adjusted by the use of DeepL or Google Cloud Translation API (not yet tested).
- implement sentences handling (
extract_words
) - check for 0 as unlimited synonyms (
find_synonyms
)