View Single Post
Old 05-04-2022, 02:52 PM   #11
nami
Member
nami began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jun 2019
Device: none
Thanks all for your attention.

Quote:
Originally Posted by BetterRed View Post
Problem: people with genuine surname suffixes, such as Abadi, Nezhad etc, also acquire courtesy tags such as Esq, PhD etc

See "The Structure of Persian Names" ==>> https://citeseerx.ist.psu.edu/viewdo...=rep1&type=pdf
Yes, you are right.

I think a more detailed example will help.

This is my list of authors (see attachment to copy):




Many names are as simple as last one "Elmira Abootorabi": a one-word firstname and a one-word lastname, but there are some names with compound parts and because in many compound lastnames that consist of two parts, the second part is the same, I want to Calibre treat the first and second part of lastname as a whole lastname.

And this is my current calibre tweak:

Spoiler:
Code:
# Author sort name algorithm

author_sort_copy_method = 'comma'

author_name_suffixes = ('Jr',
 'Sr',
 'Inc',
 'Ph.D',
 'Phd',
 'MD',
 'M.D',
 'I',
 'II',
 'III',
 'IV',
 'Junior',
 'Senior')

author_name_prefixes = ['Mr',
 'Mrs',
 'Ms',
 'Dr',
 'Prof',
 'آقای',
 'خانم',
 'دکتر',
 'مهندس',
 'پروفسور',
 'پرفسور',
 'جناب آقای',
 'جناب خانم',
 'سرکار خانم']

author_name_copywords = ['Agency',
 'Corporation',
 'Company',
 'Co.',
 'Council',
 'Committee',
 'Inc.',
 'Institute',
 'National',
 'Society',
 'Club',
 'Team',
 'سازمان',
 'موسسه',
 'مؤسسه',
 'شرکت',
 'نهاد',
 'گروه',
 'کمیته',
 'مرکز',
 'مدیریت',
 'نشر',
 'آموزش',
 'ترویج',
 'آثار',
 'اداره',
 'اتحادیه',
 'شرکت\u200cها',
 'کارگروه']

author_use_surname_prefixes = False

author_surname_prefixes = ['da', 'de', 'di', 'la', 'le', 'van', 'von']
Attached Files
File Type: txt example list.csv.txt (463 Bytes, 166 views)
nami is offline   Reply With Quote