Skip to content

Commit

Permalink
modernize-spelling: 'plane -> plane
Browse files Browse the repository at this point in the history
  • Loading branch information
acabal committed Nov 25, 2024
1 parent 4bcd356 commit e2c6ec3
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 @@ -463,6 +463,7 @@ def modernize_spelling(xhtml: str) -> str:
xhtml = regex.sub(r"\b([Aa])nnexe\b", r"\1nnex", xhtml) # annexe -> annex
xhtml = regex.sub(r"([^\p{Letter}])([Dd])amn’([^\p{Letter}])", r"\1\2amn\3", xhtml) # damn' -> damn
xhtml = regex.sub(r"Hallowe’en", r"Halloween", xhtml) # Hallowe’en -> Halloween
xhtml = regex.sub(r"’([Pp])lane\b", r"\1lane", xhtml) # 'plane -> plane


# Normalize some names
Expand Down

0 comments on commit e2c6ec3

Please sign in to comment.