Skip to content

julia-sprenger/common_language

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%