Skip to content

Commit

Permalink
Modernize aërial -> aerial
Browse files Browse the repository at this point in the history
  • Loading branch information
robinwhittleton committed Oct 31, 2024
1 parent 4c6922a commit 4125d63
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 @@ -191,6 +191,7 @@ def modernize_spelling(xhtml: str) -> str:
xhtml = regex.sub(r"\b([Cc])oërc", r"\1oerc", xhtml) # coërc -> coerc (as in coërcion)
xhtml = regex.sub(r"\b([Cc])oëd", r"\1oed", xhtml) # coëd -> coed (as in coëducation)
xhtml = regex.sub(r"\b([Dd])aïs\b", r"\1ais", xhtml) # daïs -> dais
xhtml = regex.sub(r"\b([Aa])ërial", r"\1erial", xhtml) # aërial -> aerial
xhtml = regex.sub(r"\b([Cc])oup[\- ]de[\- ]gr[aâ]ce", r"\1oup de grâce", xhtml) # coup-de-grace -> coup-de-grâce
xhtml = regex.sub(r"\b([Cc])anape", r"\1anapé", xhtml) # canape -> canapé
xhtml = regex.sub(r"\b([Pp])recis\b", r"\1récis", xhtml) # precis -> précis
Expand Down

0 comments on commit 4125d63

Please sign in to comment.