diff --git a/lib/convert-worker.js b/lib/convert-worker.js index d0fc0c9..6ade3b7 100644 --- a/lib/convert-worker.js +++ b/lib/convert-worker.js @@ -347,7 +347,7 @@ function getBodyXML(chapter, book, contentEl) { // "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)/ig, + xml = xml.replace(/patrol (block|group|leader|guard|student|uniform|squad|soldier|officer|crew|girl|bus)/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") { diff --git a/lib/substitutions.json b/lib/substitutions.json index e0f82cd..412659d 100644 --- a/lib/substitutions.json +++ b/lib/substitutions.json @@ -4505,6 +4505,12 @@ "after": "much like the machines" } ], + "https://www.parahumans.net/2018/01/30/shade-4-2/": [ + { + "before": "one earth", + "after": "one Earth" + } + ], "https://www.parahumans.net/2018/02/03/shade-4-3/": [ { "before": "ex-birdcage", @@ -4719,6 +4725,10 @@ { "before": "or if he said something like ‘You’ or “Everyone’, I could", "after": "or if he said something like ‘You’ or ‘Everyone’, I could" + }, + { + "before": "rain. and I saw", + "after": "rain. And I saw" } ], "https://www.parahumans.net/2018/04/07/shadow-interlude-5-x/": [ @@ -5167,6 +5177,10 @@ { "before": "Keith said. “You decide", "after": "Keith said, “you decide" + }, + { + "before": "The towels!", + "after": "The towels!" } ], "https://www.parahumans.net/2018/07/03/beacon-8-1/": [ @@ -5325,10 +5339,54 @@ "after": "dare you?” Hamza barked, again" } ], + "https://www.parahumans.net/2018/08/14/beacon-interlude-8-x/": [ + { + "before": "attention on Natalie, “this is", + "after": "attention on Natalie. “This is" + }, + { + "before": "Natalie’s beetle", + "after": "Natalie’s Beetle" + }, + { + "before": "I said!", + "after": "I said!" + }, + { + "before": "adam’s apple", + "after": "Adam’s apple" + }, + { + "before": "Time-time for Kenzie", + "after": "Time—time for Kenzie" + } + ], "https://www.parahumans.net/2018/08/18/beacon-interlude-8-y/": [ { "before": "A sufficient impact or distraction

", "after": "A sufficient impact or distraction.

" + }, + { + "before": "‘Hard Boil.’", + "after": "‘Hard Boil’." + }, + { + "before": "tee-vee", + "after": "TV" + }, + { + "before": "teacher’s power", + "after": "Teacher’s power" + } + ], + "https://www.parahumans.net/2018/08/21/gleaming-9-1/": [ + { + "before": "Probably teacher", + "after": "Probably Teacher" + }, + { + "before": "b-list", + "after": "B-list" } ], "https://www.parahumans.net/2018/08/28/gleaming-9-3/": [ @@ -5339,12 +5397,54 @@ { "before": "with a strong Master", "after": "with a strong master" + }, + { + "before": "—But I can’t make concessions", + "after": "—but I can’t make concessions" + }, + { + "before": "too impatient and angry It was worse because", + "after": "too impatient and angry. It was worse because" + }, + { + "before": "what it’s worth,” Tristan said. “Thanks for", + "after": "what it’s worth,” Tristan said, “thanks for" + }, + { + "before": "Apparently… perk of..", + "after": "Apparently… perk of…" + } + ], + "https://www.parahumans.net/2018/09/01/gleaming-9-4/": [ + { + "before": "Power related", + "after": "Power-related" + } + ], + "https://www.parahumans.net/2018/09/04/gleaming-9-5/": [ + { + "before": "still a voice without confidence", + "after": "Still a voice without confidence" + }, + { + "before": "The only thing that hold him back", + "after": "The only things that hold him back" + } + ], + "https://www.parahumans.net/2018/09/08/gleaming-9-6/": [ + { + "before": "The patrol had done its work", + "after": "The Patrol had done its work" } ], "https://www.parahumans.net/2018/09/11/gleaming-9-7/": [ { "before": "Byron said. he was at", "after": "Byron said. He was at" + }, + { + "before": "then teacher can’t", + "after": "then Teacher can’t" } ], "https://www.parahumans.net/2018/09/13/gleaming-interlude-9-x/": [ @@ -5355,6 +5455,120 @@ { "before": "that made her her- the shock of white", "after": "that made her her—the shock of white" + }, + { + "regExp": "their Papa", + "replacement": "their papa" + }, + { + "before": "Mama and papa talk", + "after": "Mama and Papa talk" + }, + { + "before": "injuries,” papa said", + "after": "injuries,” Papa said" + }, + { + "before": "papa’s face", + "after": "Papa’s face" + }, + { + "before": "Selfless?” papa asked", + "after": "Selfless?” Papa asked" + }, + { + "before": "kind of selfie, papa", + "after": "kind of selfie, Papa" + }, + { + "before": "part of that,” papa said", + "after": "part of that,” Papa said" + }, + { + "before": "you,” papa said", + "after": "you,” Papa said" + }, + { + "before": "too, papa,” Tristan said", + "after": "too, Papa,” Tristan said" + }, + { + "before": "worked in rigid. the armor’s", + "after": "worked in rigid. The armor’s" + }, + { + "before": "moving and across to", + "after": "moving across to" + }, + { + "before": "fucking sense!”", + "after": "fucking sense!”" + }, + { + "before": "that hurt! Stop!", + "after": "that hurt! Stop!" + }, + { + "before": "it was one thing!", + "after": "It was one thing!" + }, + { + "before": "as an anything!", + "after": "as an anything!" + }, + { + "before": "have backed you up!", + "after": "have backed you up!" + }, + { + "before": "mr. Vaughn", + "after": "Mr. Vaughn" + } + ], + "https://www.parahumans.net/2018/09/15/gleaming-9-8/": [ + { + "before": "

For those who missed it, there was a Thursday update. See the prior chapter.

\n

\n", + "after": "" + }, + { + "before": "Capricorn blue", + "after": "Capricorn Blue" + }, + { + "before": "everything ended, Several of my", + "after": "everything ended, several of my" + }, + { + "before": "you can! You", + "after": "you can! You" + } + ], + "https://www.parahumans.net/2018/09/18/gleaming-9-9/": [ + { + "before": "teacher thrall", + "after": "Teacher thrall" + }, + { + "before": "need to,” I said, because I’m", + "after": "need to,” I said, “because I’m" + }, + { + "before": "keeping the Warden and his deputy", + "after": "keeping the warden and his deputy" + } + ], + "https://www.parahumans.net/2018/09/22/gleaming-interlude-9-y/": [ + { + "before": "you up where you’re weak? You’re", + "after": "you up where you’re weak? You’re" + }, + { + "before": "for you.", + "after": "for you." + }, + { + "before": "Why ‘inflict‘", + "after": "Why ‘inflict’" } ], "https://www.parahumans.net/2018/09/25/gleaming-9-10/": [ @@ -5365,54 +5579,195 @@ { "before": "at the balcony. both wore", "after": "at the balcony. Both wore" + }, + { + "before": "—But Rain and Sveta", + "after": "—but Rain and Sveta" + }, + { + "before": "Cyrstalclear", + "after": "Crystalclear" + }, + { + "before": "He stopped here he was", + "after": "He stopped where he was" + }, + { + "regExp": "Warden", + "replacement": "warden", + "_comment": "This is discussing prison wardens, which is a normal job title" } ], "https://www.parahumans.net/2018/09/29/gleaming-9-11/": [ { "before": "two people died. the forcefield went", "after": "two people died. The forcefield went" + }, + { + "before": "Maybe wrong to think that within", + "after": "Maybe wrong to think that, within" + }, + { + "regExp": "Crock o Shit", + "after": "Crock o’ Shit" + } + ], + "https://www.parahumans.net/2018/10/02/gleaming-9-12/": [ + { + "before": "teacher hit squad", + "after": "Teacher hit squad" + }, + { + "before": "—You gotta give something", + "after": "—you gotta give something" } ], "https://www.parahumans.net/2018/10/09/gleaming-9-14/": [ { "before": "in a fireman carry. with my free hand", "after": "in a fireman carry. With my free hand" + }, + { + "before": "fucking teacher wouldn’t", + "after": "fucking Teacher wouldn’t" } ], "https://www.parahumans.net/2018/10/13/gleaming-9-15/": [ { "before": "-fucked in the head.", "after": "—fucked in the head." + }, + { + "before": "some of the creases. and from the", + "after": "some of the creases, and from the" + }, + { + "before": "Disappointed?", + "after": "Disappointed?" } ], "https://www.parahumans.net/2018/10/16/gleaming-interlude-9-z/": [ { "before": "cliff he was was expected", "after": "cliff he was expected" + }, + { + "before": "told the Warden differed", + "after": "told the warden differed" + }, + { + "before": "assistant Warden", + "after": "assistant warden" + }, + { + "before": "behind those things was By,", + "after": "behind those things was By," + }, + { + "before": "What got into you?", + "after": "What got into you?" + }, + { + "before": "what happens to anyone with powers is near anyone", + "after": "what happens when anyone with powers is near anyone" } ], - "https://www.parahumans.net/2018/12/11/interlude-10-y/": [ + "https://www.parahumans.net/2018/10/20/gleaming-interlude-9/": [ { - "before": "shape of the the moment", - "after": "shape of the moment" + "before": "Guarderò", + "after": "Guarderò." + }, + { + "before": "one earth’s worth", + "after": "one Earth’s worth" + }, + { + "before": "the adjacent earth", + "after": "the adjacent Earth" + }, + { + "before": "closest earth", + "after": "closest Earth" + }, + { + "before": "of them, “Would be", + "after": "of them, “would be" + }, + { + "before": "finds it’s root", + "after": "finds its root" + }, + { + "before": "they’re Valkyrie, Crystal", + "after": "they’re Valkyrie, Crystal" } ], "https://www.parahumans.net/2018/10/23/polarize-10-1/": [ { "before": "You let mom talk and", "after": "You let Mom talk and" + }, + { + "before": "post-Prison", + "after": "post-prison" + }, + { + "before": "to take power!’ ”", + "after": "to take power!’”" + }, + { + "before": "I’m sorry, what? What?", + "after": "I’m sorry, what? What?" } ], "https://www.parahumans.net/2018/10/27/polarize-10-2/": [ { "before": "Sveta said, leaning on me

", "after": "Sveta said, leaning on me.

" + }, + { + "before": "and that part of me is really disappointed", + "after": "And that part of me is really disappointed" + } + ], + "https://www.parahumans.net/2018/10/30/polarize-10-3/": [ + { + "before": "betray-y", + "after": "betray-ey" } ], "https://www.parahumans.net/2018/11/03/polarize-10-4/": [ { "before": "services of mercenaries. depending on timing", "after": "services of mercenaries. Depending on timing" + }, + { + "before": "we should get going", + "after": "We should get going" + }, + { + "before": "clean her stuff.. She’ll be out soon", + "after": "clean her stuff. She’ll be out soon" + }, + { + "before": "finger—and thumb-rings", + "after": "finger- and thumb-rings" + } + ], + "https://www.parahumans.net/2018/11/06/polarize-10-5/": [ + { + "before": "because It’s pertinent to", + "after": "because it’s pertinent to" + }, + { + "before": "bangs said, “They won’t give", + "after": "bangs said, “they won’t give" + } + ], + "https://www.parahumans.net/2018/11/10/polarize-10-6/": [ + { + "before": "Caveat", + "after": "caveat" } ], "https://www.parahumans.net/2018/11/13/polarize-10-7/": [ @@ -5427,24 +5782,84 @@ { "before": "-your pancreas.", "after": "—your pancreas." + }, + { + "before": "a hair of headphones", + "after": "a pair of headphones" + }, + { + "before": "Shark girl", + "after": "shark girl" + }, + { + "before": "Be safe—Nat.", + "after": "Be safe —Nat." + }, + { + "before": "kill each other.”", + "after": "kill each other.”" } ], "https://www.parahumans.net/2018/11/17/polarize-10-8/": [ { "before": "Sveta said. her hand was removed", "after": "Sveta said. Her hand was removed" + }, + { + "before": "There were a bag fast food", + "after": "There was a bag of fast food" + }, + { + "before": "anti parahuman", + "after": "anti-parahuman" } ], "https://www.parahumans.net/2018/11/20/polarize-10-9/": [ { "before": "confines of the suit. and rearranged herself", "after": "confines of the suit, and rearranged herself" + }, + { + "before": "‘piece", + "after": "’piece" + }, + { + "before": "Fuck y—of course", + "after": "Fuck y— Of course" + }, + { + "before": "they had Fallen behind", + "after": "they had fallen behind" + }, + { + "before": "Fucking heroes!", + "after": "Fucking heroes!" + }, + { + "before": "the unfucked!", + "after": "the unfucked!" } ], "https://www.parahumans.net/2018/11/24/interlude-10-x/": [ { "before": "that would be in time Hopefully

", "after": "that would be in time. Hopefully.

" + }, + { + "before": "consisting of two—and three-person", + "after": "consisting of two- and three-person" + }, + { + "before": "Garotte, Hand at one", + "after": "Garotte, hand at one" + }, + { + "before": "with that, The unfortunately named", + "after": "with that, the unfortunately-named" + }, + { + "before": "not aware of the lipstick am", + "after": "not aware of the lipstick" } ], "https://www.parahumans.net/2018/11/27/polarize-10-10/": [ @@ -5459,6 +5874,12 @@ "after": "See Dad, sleep." } ], + "https://www.parahumans.net/2018/12/11/interlude-10-y/": [ + { + "before": "shape of the the moment", + "after": "shape of the moment" + } + ], "https://www.parahumans.net/2019/01/12/blinding-11-7/": [ { "before": "threw the the man", @@ -5553,6 +5974,10 @@ { "before": "I need dad", "after": "I need Dad" + }, + { + "before": "Oh fuck!", + "after": "Oh fuck!" } ], "https://www.parahumans.net/2019/02/23/heavens-12-3/": [