PyMultiDictionary icon indicating copy to clipboard operation
PyMultiDictionary copied to clipboard

Duplicate and mispelled words cause strange bugs

Open Aphexus opened this issue 3 months ago • 1 comments

If there is a duplicate or misspelling then things like definition, synonyms, and such will not include the duplicate and this will create a size mismatch between the passed wordlist and the output defs, syns, etc.

Simply doing list(set(wrds)) solves the issue with duplicates but one should likely duplicate the entries to match the inputted words.

Aphexus avatar May 11 '24 14:05 Aphexus