Skip to content

Instantly share code, notes, and snippets.

@ericcornelissen
Created October 23, 2020 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ericcornelissen/615295dcad2a0155194efa2c159fdf77 to your computer and use it in GitHub Desktop.
Save ericcornelissen/615295dcad2a0155194efa2c159fdf77 to your computer and use it in GitHub Desktop.
A mapping file for wordrow between British and American English

British to American

This file defines a mapping from British to American English for wordrow. You can use it to convert British to American English:

$ wordrow --map-file british-american.md input.txt

or to convert American to British English:

$ wordrow --invert --map-file british-american.md input.txt

Mappings, per category

Suffixes

British: -ise(d)/-yse/-isation, American: -ize(d)/-yze/-ization

British American
-ise -ize
-ised -ized
-yse -yze
-isation -ization

Spelling

British: our, American: or

British American
Behaviour- Behavior-
Colour- Color-
Favour- Favor-
Favourite- Favorite-
Flavour- Flavor-
Honour- Honor-

British: -re, American: -er

British American
Centre Center

British: -lling, American: -ling

British American
Modelling Modeling
Travelling Traveling

British: -lled, American: -led

British American
Travelled Traveled

British: -ller, American: -ler

British American
Traveller Traveler

Miscellaneous

British American
Dialogue Dialog
Cypher Cipher
Grey Gray

British Nouns

British American
Defence Defense
Offence Offense
practice practise
pretence pretense
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment