FreeLanguageTools / vocabsieve

Simple sentence mining tool for language learning
GNU General Public License v3.0
344 stars 25 forks source link

Fix exception in WiktionarySource #131

Closed RasmusRendal closed 5 months ago

RasmusRendal commented 5 months ago

The WiktionarySource depended on the status code to check if a word was defined. If a word was not defined in the target language, but in some other language, the WiktionarySource would throw a KeyError. This commit adds a simple check to fix that.