Skip to content

Commit

Permalink
modernize-spelling: threshhold -> threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
acabal committed Nov 26, 2023
1 parent e0be776 commit 57bbd0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions se/spelling.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 57bbd0d

Please sign in to comment.