dedupeio / dedupe

:id: A python library for accurate and scalable fuzzy matching, record deduplication and entity-resolution.
https://docs.dedupe.io
MIT License
4.12k stars 551 forks source link

Gazetteer Returns ValueError #517

Closed cwurld closed 7 years ago

cwurld commented 7 years ago

If I pass a single, fairly distinct record to Gazetteer.match(), I get ValueError: No records have been blocked together. If the record has the correct dict keys, I think it would be less confusing to just return a empty list.

fgregg commented 7 years ago

I agree that that your proposed behavior makes sense for the Gazetteer class. I'd welcome a PR that makes this change.