From: Eevee Date: Sun, 26 Jul 2009 07:37:37 +0000 (-0700) Subject: Removed the need for a spelling column in the lookup index. #15 X-Git-Tag: veekun-promotions/2010050901~238 X-Git-Url: http://git.veekun.com/zzz-pokedex.git/commitdiff_plain/0b37ca809fe5f1c97b76f4e3e8a398caa40935fb?hp=0b37ca809fe5f1c97b76f4e3e8a398caa40935fb Removed the need for a spelling column in the lookup index. #15 Whoosh's spelling module unfortunately ignores any "words" that don't look like words, even though the algorithm words fine with arbitrary input. I had to clone some code from whoosh.spelling, but avoiding the isalpha() check solved a bunch of problems. Now the index happily compares against anything I feed into it. ---