diff --git a/lib/convert-worker.js b/lib/convert-worker.js index 92e1821..bd9d172 100644 --- a/lib/convert-worker.js +++ b/lib/convert-worker.js @@ -437,7 +437,7 @@ function fixCapitalization(xml, book) { // "patrol block" is capitalized three different ways: "patrol block", "Patrol block", and "Patrol Block". "patrol // group" is always lowercased. It seems like "Patrol" is a proper name, and is used as a capitalized modifier in // other contexts (e.g. Patrol leader). So let's standardize on "Patrol ". - xml = xml.replace(/patrol (block|group|leader|guard|student|uniform|squad|soldier|officer|crew|girl|bus)/ig, + xml = xml.replace(/patrol (block|group|leader|guard|student|uniform|squad|soldier|officer|crew|girl|bus|training)/ig, (_, $1) => `Patrol ${$1.toLowerCase()}`); // This always works in Ward and has a few false positives in Worm, where it is never needed: if (book === "ward") { @@ -546,7 +546,7 @@ function standardizeSpellings(xml) { xml = xml.replace(/cliche/g, "cliché"); // T-shirt is usually spelled lowercase ("t-shirt"). Normalize the remaining instances. - xml = xml.replace(/T-shirt/g, "t-shirt"); + xml = xml.replace(/(?", "after": "loading up trucks with basic supplies.

" + }, + { + "before": "I’m sor—that fucking sucks", + "after": "I’m sor— That fucking sucks" + }, + { + "before": "two of the targets was really", + "after": "two of the targets were really" + }, + { + "before": "punch a hold into the ground", + "after": "punch a hole into the ground" + } + ], + "https://www.parahumans.net/2019/01/22/interlude-11-c/": [ + { + "before": "were a worse adult examples", + "after": "were worse adult examples" + }, + { + "before": "four-times-normal—width", + "after": "four-times-normal-width" + }, + { + "before": "accumualted", + "after": "accumulated" + }, + { + "before": "get away from one swung", + "after": "get away from one swing" + }, + { + "before": "“Cradle—the most intact part of Tattletale said", + "after": "“Cradle—” the most intact part of Tattletale said" } ], "https://www.parahumans.net/2019/01/26/blinding-11-9/": [ @@ -6129,12 +6163,28 @@ { "before": "three heartbroken", "after": "three Heartbroken" + }, + { + "before": "Do yo want me to send", + "after": "Do you want me to send" + }, + { + "before": "PRT—or SWAT-van style", + "after": "PRT- or SWAT-van style" + }, + { + "before": "apparently I", + "after": "apparently I" } ], "https://www.parahumans.net/2019/01/29/blinding-11-10/": [ { "before": "heartbroken kid", "after": "Heartbroken kid" + }, + { + "before": "The team, the dynamic with the Undersiders, the Heartbroken, the kids", + "after": "The team, the dynamic with the Undersiders, the Heartbroken, the kids" } ], "https://www.parahumans.net/2019/02/02/blinding-11-11/": [ @@ -6145,12 +6195,36 @@ { "before": "fucking daughter!", "after": "fucking daughter!" + }, + { + "before": "The Warrior Monk told me", + "after": "the Warrior Monk told me" + }, + { + "before": "Foil-Hookline", + "after": "Foil–Hookline" } ], "https://www.parahumans.net/2019/02/05/blinding-11-12/": [ { "before": "and drawers. her legs were stacked against", "after": "and drawers. Her legs were stacked against" + }, + { + "before": "Not when—not like this.", + "after": "Not when— Not like this." + }, + { + "before": "Go you, Little V.", + "after": "Go you, Little V." + }, + { + "before": "the King on the chess board", + "after": "the king on the chess board" + }, + { + "before": "Almost Eight?", + "after": "Almost eight?" } ], "https://www.parahumans.net/2019/02/09/interlude-12-z/": [ @@ -6173,18 +6247,54 @@ { "before": "all the Kiss and Kill things", "after": "all the kiss and kill things" + }, + { + "before": "relatives houses", + "after": "relatives’ houses" + }, + { + "before": "Do you want to see me go all out? she thought", + "after": "Do you want to see me go all out? she thought" + }, + { + "before": "roof top", + "after": "rooftop" } ], "https://www.parahumans.net/2019/02/12/heavens-12-1/": [ { "before": "And mom’s implying I want", "after": "And Mom’s implying I want" + }, + { + "before": "ent North", + "after": "ent north" + }, + { + "before": "They headed North", + "after": "They headed north" + }, + { + "before": "It had been Marquis, before", + "after": "It had been Marquis’, before" + }, + { + "before": "police, patrol, or station", + "after": "police, Patrol, or station" + }, + { + "before": "earth-N", + "after": "Earth-N" } ], "https://www.parahumans.net/2019/02/16/heavens-12-2/": [ { "before": "And you- don’t do that", "after": "And you—don’t do that" + }, + { + "before": "Harbingers?", + "after": "Harbingers?" } ], "https://www.parahumans.net/2019/02/19/interlude-12-e/": [ @@ -6195,12 +6305,30 @@ { "before": "I need dad", "after": "I need Dad" + }, + { + "before": "going to mars or some", + "after": "going to Mars or some" } ], "https://www.parahumans.net/2019/02/23/heavens-12-3/": [ { "before": "had shaken them good- but I could", "after": "had shaken them good—but I could" + }, + { + "before": "Harbinger one was down, and two was wounded", + "after": "Harbinger One was down, and Two was wounded" + } + ], + "https://www.parahumans.net/2019/02/26/heavens-12-4/": [ + { + "before": "but the Harbinger said, “yes,” and I took", + "after": "but the Harbinger said “yes,” and I took" + }, + { + "before": "closer to haunting, “Think you can", + "after": "closer to haunting, “think you can" } ], "https://www.parahumans.net/2019/03/02/heavens-12-all/": [ @@ -6241,6 +6369,12 @@ "after": "created glowing orbs. He threw one to my" } ], + "https://www.parahumans.net/2019/03/23/heavens-12-9/": [ + { + "before": "Harbinger two was out and Harbinger one", + "after": "Harbinger Two was out and Harbinger One" + } + ], "https://www.parahumans.net/2019/03/26/heavens-12-none/": [ { "before": "if I inherit mom’s whole",