willettk / common_language

"Translate" text from American to British English and back

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

common_language

The United States and Great Britain are two countries separated by a common language.

For those annoying times when Americans need to submit articles to MNRAS, or Brits to ApJ.

Word list originally from http://www.tysto.com/uk-us-spelling-list.html

Examples

πŸ‡ΊπŸ‡Έ -> πŸ‡¬πŸ‡§

python3 __main__.py --to uk manuscript_us.tex [manuscript_gb.tex]

πŸ‡¬πŸ‡§ -> πŸ‡ΊπŸ‡Έ

python3 __main__.py --to us manuscript_gb.tex [manuscript_us.tex]

Replacement suggestions are printed to the terminal. Then, you select whether you replace or not.

Thanks to @Daniel-Chin for interactive support.

About

"Translate" text from American to British English and back

License:MIT License


Languages

Language:Python 100.0%