Removed the need for a spelling column in the lookup index. #15
authorEevee <git@veekun.com>
Sun, 26 Jul 2009 07:37:37 +0000 (00:37 -0700)
committerEevee <git@veekun.com>
Sun, 26 Jul 2009 07:37:37 +0000 (00:37 -0700)
commit0b37ca809fe5f1c97b76f4e3e8a398caa40935fb
tree1c455df4809c97ce743e1792200ea65bc4fae350
parent46d8eb29c55e72493f354121683ff47b4659513a
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.
pokedex/lookup.py