diff --git a/se/spelling.py b/se/spelling.py index c68faf20..3efaaa23 100644 --- a/se/spelling.py +++ b/se/spelling.py @@ -457,8 +457,9 @@ def modernize_spelling(xhtml: str) -> str: xhtml = regex.sub(r"\b([Dd])umbfounder", r"\1umbfound", xhtml) # dumbfoundered -> dumbfounded xhtml = regex.sub(r"\b([Ss])uttee", r"\1ati", xhtml) # suttee -> sati xhtml = regex.sub(r"\b([Bb])y-by\b", r"\1ye-bye", xhtml) # by-by -> bye-bye - xhtml = regex.sub(r"(? leery + xhtml = regex.sub(r"(? leery xhtml = regex.sub(r"\b([Bb])rief case", r"\1riefcase", xhtml) # brief case -> briefcase + xhtml = regex.sub(r"’([Ff])lu\b", r"\1lu", xhtml) # 'flu -> flu # Normalize some names