mirror of
https://git.pumpin.online/funkpower/catena.git
synced 2026-11-24 19:32:56 +00:00
bibclean: a name in capitals is allcaps_author, not author_list_commas
as_byline fell back to author_list_commas whenever no other fault was found, so "STEVEN BOX" was reported as a list joined with commas. A heading with letters and no lowercase is now allcaps_author (weight 2); the repair is the same byline.
This commit is contained in:
3 files changed
+22
-1
No files matched your search
@@ -153,6 +153,7 @@ const PERSON_SUFFIXES: &[&str] = &["ed", "eds", "ii", "iii", "iv", "jr", "md", "
|
||||
/// What each fault is worth when the worst records are wanted first.
|
||||
const WEIGHTS: &[(&str, u32)] = &[
|
||||
("account_author", 3),
|
||||
("allcaps_author", 2),
|
||||
("allcaps_title", 2),
|
||||
("author_is_title", 4),
|
||||
("author_last_first", 1),
|
||||
|
||||
Reference in new issue
Block a user