Open Thijsvandepoll opened 3 years ago
Hi all,
I found a bug in process.extractWithoutOrder() which causes process.dedupe() to fail unexpectedly. The example:
process.extractWithoutOrder()
process.dedupe()
process.dedupe(["BRITT JEFFREY S", "BRITT JEFFREY S.", "WIEDEMAN SCOTT", "WIEDERMANN SCOTT", "斯科特·维德曼", "杰弗里·S·布里特"])
which results in:
IndexError: list index out of range
The expected result here is:
dict_keys(['BRITT JEFFREY S.', 'WIEDERMANN SCOTT', '斯科特·维德曼', '杰弗里·S·布里特'])
I looked into the source code and I believe I found a bug in process.extractWithoutOrder() which sets the used (pre)processor different for the query then for the choices. I will create a merge request to fix this issue.
query
choices
Hi all,
I found a bug in
process.extractWithoutOrder()
which causesprocess.dedupe()
to fail unexpectedly. The example:which results in:
The expected result here is:
I looked into the source code and I believe I found a bug in
process.extractWithoutOrder()
which sets the used (pre)processor different for thequery
then for thechoices
. I will create a merge request to fix this issue.