mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-20 22:12:37 -04:00
Ignore initials and connectives when geenrating tokens for author name lookup
This commit is contained in:
@@ -65,7 +65,8 @@ class Source(Plugin):
|
||||
parts = parts[1:] + parts[:1]
|
||||
for tok in parts:
|
||||
tok = pat.sub('', tok).strip()
|
||||
yield tok
|
||||
if len(tok) > 2 and tok.lower() not in ('von', ):
|
||||
yield tok
|
||||
|
||||
|
||||
def get_title_tokens(self, title):
|
||||
|
||||
Reference in New Issue
Block a user