You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fromthefuzzimportprocessquery="ishida to asakura"choices= [('ishida to asakura special', 'Ishida to Asakura Special', 'None', '1'), ('sengoku musou sp sanada no shou', 'Sengoku Musou SP Sanada no Shou', 'None', '1'), ('nanocore sp lianxi pian 2015 xinnian tebie ban', 'Nanocore SP Lianxi Pian 2015 Xinnian Tebie Ban', 'None', '1'), ('shakugan no shana koi to onsen no kougai gakushuu', 'Shakugan no Shana Koi to Onsen no Kougai Gakushuu', 'None', '1'), ('baki most evil death row convicts special anime', 'Baki Most Evil Death Row Convicts Special Anime', 'None', '1')]
out= [
i[0] foriinprocess.extract(
query, choices, limit=len(choices)
) ifi[1] >=90
]
This is a regression in my implementation from #10. I wrote a quick fix for this in #58. Note that your code relies on the preprocessing function calling str on all your objects so you are comparing ishida to asakura with ishida to asakura special ishida to asakura special none 1. Not sure whether that is done on purpose.
The text was updated successfully, but these errors were encountered: