View Single Post
Old 05-02-2011, 08:14 AM   #252
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,733
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by chaley View Post
If we are trying to find duplicate books where the author names are swapped around, then simply adding all forms of the author to the candidate map should work. If there is a book X with author "A B", and another book X with author "B, A", then adding both permutations for X will generate two identical duplicate groups. These should be pruned, assuming you have added the set pruning stuff.
True, I had forgotten about the set pruning (which is there). Like I said, I hadn't given it a huge amount of thought outside of whether we want it and where

I think I will put it in this plugin. Unlike some of the other suggestions this is one example where you can *only* detect it by having multiple *variants* of the author. So any occurrences not found by the find duplicates approach could not be found by any other means (except for comparing with some sort of external authors database). It is fairly easy and "cheap" to add here, and as you have said above it could occur in people's databases rather more often than they might like if they have been a bit undisciplined in their approach to adding books.
kiwidude is offline   Reply With Quote