From 57bbd0ddf2a111622cfe5bebea71466fbb8d5cc3 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Sun, 26 Nov 2023 12:20:38 -0600 Subject: [PATCH] modernize-spelling: threshhold -> threshold --- se/spelling.py | 1 + 1 file changed, 1 insertion(+) diff --git a/se/spelling.py b/se/spelling.py index fe422962..de9fadff 100644 --- a/se/spelling.py +++ b/se/spelling.py @@ -437,6 +437,7 @@ def modernize_spelling(xhtml: str) -> str: xhtml = regex.sub(r"\bquire(s?)\b", r"choir\1", xhtml) # quire -> choir xhtml = regex.sub(r"\b([Bb])onâ fide\b", r"\1ona fide", xhtml) # bonâ fide -> bona fide xhtml = regex.sub(r"\b([Hh])alf [Ww]ay\b", r"\1alfway", xhtml) # half way -> halfway + xhtml = regex.sub(r"\b([Tt])hreshhold", r"\1hreshold", xhtml) # threshhold -> threshold # Normalize some names xhtml = regex.sub(r"Moliere", r"Molière", xhtml) # Moliere -> Molière