citefind: a name that ends in an initial, and the imprint after it

The stop after `P.` is an initial rather than a sentence stop, so `Hoyt,
Edwin P. The Supersalesmen. New York: World Publishing, 1962.` never got cut
there. The name came back as `Hoyt, Edwin P. The Supersalesmen` and the next
segment along — the imprint — became the work. Both fields wrong from one
missing cut.

An inverted name whose forenames end in an initial, with two or more words
after it, now ends at that initial. Two words, because one is a forename:
`Price, M. Philips` and `Drexler, K. Eric` are whole names and must not be
cut.

And the segment the reader settles on for a title may not be an imprint —
which is what the function has said it did since it was written, in a comment
above a predicate that never checked. Asked narrowly enough that a title with
a colon in it survives.

On 199 reference chapters never used for tuning, imprints stored as the work
fall from 376 to 55, and the share of rows naming an author rises from 86.1%
to 88.1%.
This commit is contained in:
funkpower
2026-09-20 18:01:37 -04:00
parent e05622e09b
commit c09fc41721
2 changed files with 107 additions and 2 deletions
+8
View File
@@ -185,6 +185,7 @@ is enough: a block is a single entry or a list of them, not a mixture.
| Commas and a place | `Cheyne, T. K., Founders of Old Testament Criticism, London, 1893.` |
| Reading list, unmarked | `Block, N. 1981. Psychologism and behaviorism. Philosophical Review 90:5-43.` |
| Editor in the author's place | `Barratt, Alexandra, ed. Women's Writing in Middle English. London: Longman, 1992.` |
| A name that ends in an initial | `Hoyt, Edwin P. The Supersalesmen. New York: World Publishing, 1962.` |
| A reprint's two years | `Schleiermacher, Friedrich. 1813/1963. "Ueber die verschiedenen Methoden…"` |
| Chapter in a book | `Brown, Peter. "Sorcery…" In *Witchcraft Confessions*, ed. Mary Douglas, 17-45. London: Tavistock, 1970.` |
@@ -223,6 +224,13 @@ topic is not an author and `Buss, 1989` is not a work, so it is flagged
**Take a translator's note for a reference.** An em dash and a role at the
end — `— Ed.`, `— Tr.` — is how a translator signs a note of their own.
**Take where a book was published for what it is called.** `Leiden: Brill,
2003` and `New York: 1928` are an imprint standing on its own, and a segment
that is only an imprint is skipped rather than read as the title. A title
with a colon in it is not one: `Russian Popular Culture: Entertainment and
Society since 1900` survives, which is why the imprint is asked for narrowly
— a place of up to three words, and then a year or a publisher and a year.
**Take a note's own remark for a work.** `The Commentator seems to have
based himself principally on the Bible` and `Dewey remarks that we experience
most things as temporal` are what a page of endnotes is mostly made of. A