Input a string or HTML which uses British English spelling (and Metric units) => output American English spelling (and imperial units)
unit-conversion, characters to ignore near unit conversions, and debug option (prints all translations to console)
would be very simple to translate the other way.