mirror of
https://git.pumpin.online/funkpower/catena.git
synced 2026-10-23 03:07:13 +00:00
bindings: the catalogue audit book-pipeline had its own copy of
bibclean is "catalogue records audited and repaired, with a reason for every change", and book-pipeline's metadata module was a second implementation of the same thing — ported from it in the first place. Twelve functions bound: the audit, its severity, the two commonest faults, the three repairs that need no lookup, ISBNs checked and found, and whether two titles name the same work. Checked against that Python across all 5,385 books in the library — every title, every author, every ISBN, every filename, and four thousand title pairs. Identical on all of it but one: `The Soul After Death: Contemporary 'After-Death' Experiences`, where the Python lowercased a word inside the quotation marks and bibclean leaves it alone.
This commit is contained in:
@@ -84,6 +84,12 @@ except ValueError as why:
|
||||
| `canonical_subject` | what a closed subject scheme calls a heading |
|
||||
| `compose_subjects` | the subjects a book should carry under one |
|
||||
| `needs_subject` | whether it carries a heading the scheme knows |
|
||||
| `clean_record` | a whole catalogue record audited and repaired |
|
||||
| `record_problems`, `record_severity` | what is wrong with one, and how much |
|
||||
| `title_in_author`, `looks_like_person` | the two commonest catalogue faults |
|
||||
| `is_shouting`, `title_case`, `clean_underscores` | the repairs that need no lookup |
|
||||
| `valid_isbn`, `isbn_from_text`, `isbn_from_filename` | ISBNs, checked and found |
|
||||
| `same_work` | whether two titles name the same book |
|
||||
| `citation_prompt` | the question `citefind --prompt` writes |
|
||||
| `merge_citation_reply` | what `citefind --merge` does with the answer |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user