bkuczenski/synonym_dict

`synonyms()` should not add query item to dict

Closed this issue · 0 comments

Because of the use of defaultdict, the synonyms() implementation causes unknown entities to be added to the reverse lookup when they are submitted as queries.

Fix: test for membership in reverse lookup