Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 05-05-2021, 05:40 AM   #1
WalterWalter
Member
WalterWalter began at the beginning.
 
Posts: 13
Karma: 10
Join Date: May 2021
Device: Android Phone
Managing Authors with prefixes and Suffixes

Hello,
calibre handles authors with prefixes and suffixes quite well . But I still run into the following problem:
Roger Penrose in my Library has entries as:
Prof. Roger Penrose
Prof. Dr. Roger Penrose
Roger Penrose PhD
Prof. Roger Penrose PhD
Roger Penrose DPhil
and also just Roger Penrose.
Calibre treats them as different authors ( some with the same author sort). So if I click on a book by Prof. Roger Penrose and search for books with the same author I will not get books by Roger Penrose PhD. Is there a way to tell Calibre that all these authors are really the same?
A similar problem exist for authors writing under different pen names.
My workaround at the moment is to add as a first author Roger Penrose and have the other name as the second author.

Thanks in advance for your suggestions.
WalterWalter is offline   Reply With Quote
Old 05-05-2021, 05:45 AM   #2
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,973
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
For all the Roger Penroses, my suggestion is to merge them all into one author. Find Duplicates plugin has a "Find Metadata Variations" option that's helpful.

Unfortunately, pen names is a tricker problem.
ownedbycats is offline   Reply With Quote
Old 05-05-2021, 06:25 AM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by WalterWalter View Post
Hello,
calibre handles authors with prefixes and suffixes quite well . But I still run into the following problem:
Roger Penrose in my Library has entries as:
Prof. Roger Penrose
Prof. Dr. Roger Penrose
Roger Penrose PhD
Prof. Roger Penrose PhD
Roger Penrose DPhil
and also just Roger Penrose.
Calibre treats them as different authors ( some with the same author sort). So if I click on a book by Prof. Roger Penrose and search for books with the same author I will not get books by Roger Penrose PhD. Is there a way to tell Calibre that all these authors are really the same?
A similar problem exist for authors writing under different pen names.
My workaround at the moment is to add as a first author Roger Penrose and have the other name as the second author.

Thanks in advance for your suggestions.
Have a look at the Preferences->Searching->Group Searches and Similar books tabs.

BR
BetterRed is offline   Reply With Quote
Old 05-05-2021, 07:32 AM   #4
WalterWalter
Member
WalterWalter began at the beginning.
 
Posts: 13
Karma: 10
Join Date: May 2021
Device: Android Phone
Quote:
Originally Posted by ownedbycats View Post
For all the Roger Penroses, my suggestion is to merge them all into one author. Find Duplicates plugin has a "Find Metadata Variations" option that's helpful.

Unfortunately, pen names is a tricker problem.
Thanks for the reply. This is a possibility, but I do want to loose the information, of how the auther is named on the cover of a book. If the author on the cover is Roger Penrose PhD I want to keep that information, especially if Roger Penrose is the Editor and not the Author, i. e. Roger Penrose Ed.
WalterWalter is offline   Reply With Quote
Old 05-05-2021, 01:11 PM   #5
WalterWalter
Member
WalterWalter began at the beginning.
 
Posts: 13
Karma: 10
Join Date: May 2021
Device: Android Phone
Quote:
Originally Posted by WalterWalter View Post
Thanks for the reply. This is a possibility, but I do want to loose the information, of how the auther is named on the cover of a book. If the author on the cover is Roger Penrose PhD I want to keep that information, especially if Roger Penrose is the Editor and not the Author, i. e. Roger Penrose Ed.
Sorry, i meant to write "but I do NOT want to loose the information"
WalterWalter is offline   Reply With Quote
Old 05-05-2021, 01:28 PM   #6
WalterWalter
Member
WalterWalter began at the beginning.
 
Posts: 13
Karma: 10
Join Date: May 2021
Device: Android Phone
Quote:
Originally Posted by BetterRed View Post
Have a look at the Preferences->Searching->Group Searches and Similar books tabs.

BR
Thank you for the hint. I tried it. Setting similar books to Author sort works fine for single authors, it will find all all "Roger Penrose" in author_sort no matter what the name of the author. But it totally breaks down for more than one author. So a book with the author "RogerPenrose & Albert Einstein" will not be found when doing a similar search on author_sort even with the match any option. Morove, a similar search on a book with authors "RogerPenrose & Albert Einstein" will not find a book with the authors "Albert Einstein & RogerPenrose".

A grouped search will not help, since only want to search the column author_sort. I could maybe add custom columns for author1_sort, author2_sort and so on and than search over all these cusom columns, but that seems overly complex.
WalterWalter is offline   Reply With Quote
Old 05-05-2021, 03:16 PM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,054
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by WalterWalter View Post
Thank you for the hint. I tried it. Setting similar books to Author sort works fine for single authors, it will find all all "Roger Penrose" in author_sort no matter what the name of the author. But it totally breaks down for more than one author. So a book with the author "RogerPenrose & Albert Einstein" will not be found when doing a similar search on author_sort even with the match any option. Morove, a similar search on a book with authors "RogerPenrose & Albert Einstein" will not find a book with the authors "Albert Einstein & RogerPenrose".

A grouped search will not help, since only want to search the column author_sort. I could maybe add custom columns for author1_sort, author2_sort and so on and than search over all these cusom columns, but that seems overly complex.
Like you, I prefer the Cover name in Author (except I will normalize (w/)Initials when both are used), so Christopher Nuttall always has his middle initial; G.)

Been a while since I set this up.
I have a custom column #psudo4 (first image)
Originally this was just for pen names, but like all things it filled others (later)

But this is where I put the Real name if the cover has a pen name


As for searching you just need to set Preferences Similar and Grouped searches up. FWIW Penned_As now appears in the Tag browser, so you could drive your search from there

OK it is later Other uses:
I limit my {Author} up to 3 names , Part of the reason was File based devices could not deal with the huge path (or it got munged up so weird)

Collections: {Author} gets the Primary or EDITORS, all the others get into #pseudo4 .

FWIW I do something similar with series, but I use <various> IN {SERIES} if there is more than 2 (I am of the school, to avoid many extra columns if only used rarely)
Attached Thumbnails
Click image for larger version

Name:	Alt Author col1.JPG
Views:	237
Size:	62.9 KB
ID:	186950   Click image for larger version

Name:	Alt Author search1.JPG
Views:	238
Size:	39.4 KB
ID:	186951   Click image for larger version

Name:	Pendas1.JPG
Views:	238
Size:	64.8 KB
ID:	186952  
theducks is offline   Reply With Quote
Old 12-22-2024, 02:19 AM   #8
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by WalterWalter View Post
Sorry, i meant to write "but I do NOT want to loose the information"
Right now I'm tackling a similar problem when updating author notes via Goodreads (GR notes plugin). I can't get the Bio if author is suffixed by MD, Phd etc.

So, for instance, I had 'Vivek H Murthy, MD'. Bio wouldn't get fetched. Then I removed the MD bit and it did download the author Bio.

I thought of creating a column just for the academic degrees by doing a search and replace targeting a #degree column for any MD, PhD preceded by a comma, but now I see that some authors don't have the separating comma...sigh. So I'm still thinking what approach I'm going to take, maybe use regex to match whole words such as MD, Phd, MPH regardless of being preceded by commas.
Comfy.n is offline   Reply With Quote
Old 12-22-2024, 02:56 AM   #9
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
And then there are also titles where multiple authors have different degrees, I give up.

edit: Well, I've set two action chains: one populates the #suffixes column with PhD, another clears the PhD string from author field. Looking good so far. Need to do the same for MD, MPH etc.

There are also cases where author has various degrees. grr...

Last edited by Comfy.n; 12-22-2024 at 03:14 AM.
Comfy.n is offline   Reply With Quote
Old 12-22-2024, 04:37 AM   #10
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Comfy.n View Post
And then there are also titles where multiple authors have different degrees, I give up.

edit: Well, I've set two action chains: one populates the #suffixes column with PhD, another clears the PhD string from author field. Looking good so far. Need to do the same for MD, MPH etc.

There are also cases where author has various degrees. grr...
Maybe @chaley could provide a template to remove the prefixes and suffixes that are defined in the Author sort name algorithm Tweak… he could call it 'naked_author'.

And an option to use it in these searches:

Click image for larger version

Name:	1.jpg
Views:	133
Size:	141.8 KB
ID:	212603

Then we'd get this: Click image for larger version

Name:	2.jpg
Views:	128
Size:	427.8 KB
ID:	212604 rather than: Click image for larger version

Name:	3.jpg
Views:	136
Size:	271.2 KB
ID:	212605

I don't know if it would work for GR Notes.

BR
BetterRed is offline   Reply With Quote
Old 12-22-2024, 05:05 AM   #11
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by BetterRed View Post
Maybe @chaley could provide a template to remove the prefixes and suffixes that are defined in the Author sort name algorithm Tweak… he could call it 'naked_author'.
Sounds like a good idea! Would spare some busy work for sure.

I'm done now with most titles using the chains I mentioned and the Suffixes column looks fine:
Attached Thumbnails
Click image for larger version

Name:	MWSnap 2024-12-22, 07_03_17.png
Views:	134
Size:	19.6 KB
ID:	212606   Click image for larger version

Name:	MWSnap 2024-12-22, 07_02_11.png
Views:	141
Size:	9.1 KB
ID:	212607  
Comfy.n is offline   Reply With Quote
Old 12-22-2024, 07:31 AM   #12
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Here it is. I used calibre's author_sort code as a basis. I have no idea if the template is actually useful.

Here is the exported stored template.
Attached Files
File Type: txt naked_authors.txt (1.2 KB, 102 views)
chaley is offline   Reply With Quote
Old 12-22-2024, 08:09 AM   #13
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by chaley View Post
Here it is. I used calibre's author_sort code as a basis. I have no idea if the template is actually useful.

Here is the exported stored template.
Nice, thanks! The stored templates import/export makes it so much easier than copying/pasting code.

Later I'll look more into it but it works fine for 'normalised'/consistent suffixes:
Attached Thumbnails
Click image for larger version

Name:	MWSnap 2024-12-22, 10_05_49.png
Views:	139
Size:	14.9 KB
ID:	212611  
Comfy.n is offline   Reply With Quote
Old 12-22-2024, 05:01 PM   #14
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Slightly off topic: I've often wondered why Author prefixes (e.g. titles: Professor, Sir, Baron, Duchess, etc) are stripped from the Tag browser entries, but not the suffixes (e.g. MSc, PhD, FRS etc).

Senior academics often have a half-dozen or more qualifications, e.g. Professor Salim S Abdool Karim could have any combination of the following (including none) in his published works and citations: MBChB, MMed, MS(Epi), FFPHM, FFPath (Virol), DipData, PhD, DSc(hc), FRS.

BR
BetterRed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Prefixes knc1 Kindle Developer's Corner 5 07-10-2016 05:14 PM
File suffixes and structure pwright2 Amazon Kindle 4 03-12-2012 05:29 PM
PREFIXES JSWolf Sony Reader 0 01-06-2012 04:12 PM
Title Case and Handling Name Suffixes rcandi Calibre 2 10-09-2011 10:30 AM


All times are GMT -4. The time now is 11:48 AM.


MobileRead.com is a privately owned, operated and funded community.