View Single Post
Old 04-25-2011, 05:30 PM   #162
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,731
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by chaley View Post
However, I am mystified why "20,000 Leagues under the Sea" matches "L'Assassin du roi".
Haha, I'm not hugely surprised by that one. For a start, anything that isn't a-z gets thrown away. So then you are down to:
leaguesunderthesea
lassassinduroi

The algorithm is designed to discard repeating mapped letters with the same "value" for that character. e and a have the same value, so do s and g. etc. etc - and you end up with a soundex match unless we crank up the soundex length

Quote:
@kiwidude: this is really good stuff. I suggest that you make it generally available as soon as you are comfortable with doing so.
Thanks, I am rather chuffed with how it has turned out, obviously the input from yourself and Starson in particular has been awesome to feed into it. The only thing that I might be tempted to add which I didn't finish my sentence on was improving the tag browser integration.

At the moment when you do an author based search, I expand the authors node in the tag browser and make it visible. The next step is to add to that to take the first author from the group under consideration and ensure that node is visible in the tag browser. Otherwise (when you have a lot of authors) you have all those collapsed author groups and still have to do a bit of hunting to actually get to the author node.

The other aspect to that is would some users get grumpy about the tag browser continually popping into view? Perhaps I should add a checkbox on the search options dialog so users could choose not to use that function (like when working on small screens). Although if they need to rename an author it is the "best" way of doing so though I guess they could do it from the bulk metadata dialog.

The third aspect of that is if I made it an option to then support it for title based searches as well. While it would be slightly less used for renaming authors with those searches it still could be.

If I can figure out those questions (plus whether to offer a soundex spinbox) then will stick it out as a 1.0 plugin.
kiwidude is offline   Reply With Quote