diff --git a/lib/convert.js b/lib/convert.js index 6dd79bd..b3124ec 100644 --- a/lib/convert.js +++ b/lib/convert.js @@ -393,9 +393,11 @@ function getBodyXML(chapter, contentEl) { // "gray" is the majority spelling, except for "greyhound" xml = xml.replace(/(G|g)rey(?!hound)/g, "$1ray"); - // "Dad" should be capitalized when used as a proper name. This regexp catches a good amount of instances, without - // over-correcting. + // "Mom" and "Dad" should be capitalized when used as a proper name. These regexps are tuned to catch a good amount of + // instances, without over-correcting for non-proper-name-like cases. Many other instances are handled in + // substitutions.json. xml = xml.replace(/(?", "after": "the glass vial.
" + }, + { + "before": "discovering that mom was right", + "after": "discovering that Mom was right" } ], "https://parahumans.wordpress.com/2013/01/14/migration-17-7/": [ @@ -4299,6 +4323,10 @@ { "before": "To dad being", "after": "To Dad being" + }, + { + "before": "and mom being business", + "after": "and Mom being business" } ], "https://www.parahumans.net/2017/12/09/flare-2-1/": [ @@ -4327,6 +4355,10 @@ { "before": "two—piece", "after": "two-piece" + }, + { + "before": "want to think about mom", + "after": "want to think about Mom" } ], "https://www.parahumans.net/2017/12/23/flare-2-5/": [ @@ -4379,10 +4411,32 @@ "after": "my flight toward Tristan" } ], + "https://www.parahumans.net/2018/01/20/glare-3-5/": [ + { + "before": "What mom did, I was pretty", + "after": "What Mom did, I was pretty" + }, + { + "before": "you let yourself believe mom’s words", + "after": "you let yourself believe Mom’s words" + }, + { + "before": "You mean mom", + "after": "You mean Mom" + }, + { + "before": "say I’m just like mom again", + "after": "say I’m just like Mom again" + } + ], "https://www.parahumans.net/2018/01/23/glare-3-6/": [ { "before": "I had a conversation with dad last night", "after": "I had a conversation with Dad last night" + }, + { + "before": "Bye mom", + "after": "Bye Mom" } ], "https://www.parahumans.net/2018/01/25/glare-interlude-3/": [ @@ -4405,6 +4459,16 @@ { "before": "that’s who mom and dad are", "after": "that’s who Mom and Dad are" + }, + { + "before": "but when mom had cancer", + "after": "but when Mom had cancer" + } + ], + "https://www.parahumans.net/2018/02/17/shade-4-6/": [ + { + "before": "mom’s verdict was", + "after": "Mom’s verdict was" } ], "https://www.parahumans.net/2018/02/20/shade-4-7/": [ @@ -4413,6 +4477,12 @@ "after": "Mom and Dad were looking" } ], + "https://www.parahumans.net/2018/02/22/shade-interlude-4c/": [ + { + "before": "Yes mom", + "after": "Yes Mom" + } + ], "https://www.parahumans.net/2018/03/17/shadow-5-6/": [ { "before": "have a a specter", @@ -4476,6 +4546,10 @@ { "before": "the hole in the floor and the pieces of dad", "after": "the hole in the floor and the pieces of Dad" + }, + { + "before": "Past what was left of mom", + "after": "Past what was left of Mom" } ], "https://www.parahumans.net/2018/05/27/eclipse-x-2/": [ @@ -4526,6 +4600,18 @@ { "before": "“Eat,” dad said", "after": "“Eat,” Dad said" + }, + { + "before": "she gave the bathroom what mom called a once-over", + "after": "she gave the bathroom what Mom called a once-over" + }, + { + "before": "say or do when mom got like this", + "after": "say or do when Mom got like this" + }, + { + "before": "cooked for me,” mom said", + "after": "cooked for me,” Mom said" } ], "https://www.parahumans.net/2018/07/07/beacon-8-2/": [ @@ -4564,6 +4650,12 @@ "after": "and Mom and Dad’s rules" } ], + "https://www.parahumans.net/2018/10/23/polarize-10-1/": [ + { + "before": "You let mom talk and", + "after": "You let Mom talk and" + } + ], "https://www.parahumans.net/2018/12/01/polarize-10-11/": [ { "before": "See dad, sleep.", @@ -4574,6 +4666,10 @@ { "before": "threw the the man", "after": "threw the man" + }, + { + "before": "Reminded me of mom", + "after": "Reminded me of Mom" } ], "https://www.parahumans.net/2019/01/15/blinding-11-8/": [ @@ -4588,6 +4684,26 @@ "after": "someone had been called at three" } ], + "https://www.parahumans.net/2019/02/09/interlude-12-z/": [ + { + "before": "mom just so happened to be busy", + "after": "Mom just so happened to be busy" + }, + { + "before": "Or when mom had", + "after": "Or when Mom had" + }, + { + "before": "mom messed up", + "after": "Mom messed up" + } + ], + "https://www.parahumans.net/2019/02/12/heavens-12-1/": [ + { + "before": "And mom’s implying I want", + "after": "And Mom’s implying I want" + } + ], "https://www.parahumans.net/2019/02/19/interlude-12-e/": [ { "before": "I want dad", @@ -4604,12 +4720,38 @@ "after": "bounce off of the people" } ], + "https://www.parahumans.net/2019/03/05/heavens-12-5/": [ + { + "before": "mom, are you okay being", + "after": "Mom, are you okay being" + } + ], "https://www.parahumans.net/2019/03/09/heavens-12-6/": [ { "before": "wrists behind them around around the stomach", "after": "wrists behind them around the stomach" } ], + "https://www.parahumans.net/2019/03/26/heavens-12-none/": [ + { + "before": "if I inherit mom’s whole", + "after": "if I inherit Mom’s whole" + }, + { + "before": "wasn’t mom’s whole", + "after": "wasn’t Mom’s whole" + } + ], + "https://www.parahumans.net/2019/03/29/heavens-12-x/": [ + { + "before": "go to sleep,” Her mother said", + "after": "go to sleep,” her mother said" + }, + { + "before": "Night mom", + "after": "Night Mom" + } + ], "https://www.parahumans.net/2019/04/09/black-13-3/": [ { "before": "you have have surmised", @@ -4638,6 +4780,20 @@ { "before": "and the the undo button", "after": "and the undo button" + }, + { + "before": "progress with mom is slow", + "after": "progress with Mom is slow" + }, + { + "before": "Promises to mom and dad", + "after": "Promises to Mom and Dad" + } + ], + "https://www.parahumans.net/2019/06/08/breaking-14-7/": [ + { + "before": "Regretting sending mom here", + "after": "Regretting sending Mom here" } ], "https://www.parahumans.net/2019/06/15/breaking-14-9/": [ @@ -4700,6 +4856,18 @@ "after": "mind of Dad after his head injury" } ], + "https://www.parahumans.net/2019/10/05/sundown-17-2/": [ + { + "before": "egg for Crystal and mom", + "after": "egg for Crystal and Mom" + } + ], + "https://www.parahumans.net/2019/10/15/sundown-17-5/": [ + { + "before": "Is mom walking without difficulty", + "after": "Is Mom walking without difficulty" + } + ], "https://www.parahumans.net/2019/10/19/sundown-17-6/": [ { "before": "Probably dad", @@ -4712,6 +4880,24 @@ "after": "art good enough to keep forever" } ], + "https://www.parahumans.net/2019/11/02/sundown-17-10/": [ + { + "before": "wanted you to go to mom if you", + "after": "wanted you to go to Mom if you" + } + ], + "https://www.parahumans.net/2019/11/09/interlude-17-y-sundown/": [ + { + "before": "Because it made mom come", + "after": "Because it made Mom come" + } + ], + "https://www.parahumans.net/2019/11/19/radiation-18-2/": [ + { + "before": "looking for mom in the crowd", + "after": "looking for Mom in the crowd" + } + ], "https://www.parahumans.net/2019/11/26/radiation-18-4/": [ { "before": "bucked a little with the the impact", @@ -4734,6 +4920,28 @@ { "before": "or when you divorce dad", "after": "or when you divorce Dad" + }, + { + "before": "Hey mom? Mom", + "after": "Hey Mom? Mom" + } + ], + "https://www.parahumans.net/2020/01/25/infrared-19-d/": [ + { + "before": "look after mom", + "after": "look after Mom" + } + ], + "https://www.parahumans.net/2020/01/28/infrared-19-e/": [ + { + "before": "so mom doesn’t end up alone", + "after": "so Mom doesn’t end up alone" + } + ], + "https://www.parahumans.net/2020/02/04/infrared-19-8/": [ + { + "before": "Lessons from mom, age thirteen", + "after": "Lessons from Mom, age thirteen" } ], "https://www.parahumans.net/2020/02/08/infrared-19-9/": [ @@ -4742,6 +4950,26 @@ "after": "had insisted she or Dad drive us" } ], + "https://www.parahumans.net/2020/02/11/infrared-19-f/": [ + { + "before": "while Aisha stuck with mom", + "after": "while Aisha stuck with Mom" + }, + { + "before": "while mom did her own thing", + "after": "while Mom did her own thing" + } + ], + "https://www.parahumans.net/2020/02/15/infrared-19-10/": [ + { + "before": "Stuff to do with mom", + "after": "Stuff to do with Mom" + }, + { + "before": "thinking about mom getting on my case", + "after": "thinking about Mom getting on my case" + } + ], "https://www.parahumans.net/2020/04/21/last-20-e4/": [ { "before": "grown around the the maille sheath", @@ -4758,6 +4986,22 @@ { "before": "mourning Eric and dad", "after": "mourning Eric and Dad" + }, + { + "before": "ongoing fight with mom", + "after": "ongoing fight with Mom" + }, + { + "before": "His eyes locked to mom", + "after": "His eyes locked to Mom" + }, + { + "before": "the backup that mom provided", + "after": "the backup that Mom provided" + }, + { + "before": "Back to mom", + "after": "Back to Mom" } ], "https://www.parahumans.net/?p=3365&preview=true": [ @@ -4780,6 +5024,14 @@ { "before": "Your issue with dad", "after": "Your issue with Dad" + }, + { + "before": "My boss is-was Narwhal, mom", + "after": "My boss is—was Narwhal, Mom" + }, + { + "before": "he mom shook her head", + "after": "her mom shook her head" } ] }