PHP Classes

US to UK Text Converter: Convert English text between US and UK spellings

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-11-28 (1 month ago) RSS 2.0 feedNot yet rated by the usersTotal: 47 All time: 9,081 This week: 567Up
Version License PHP version Categories
us-to-uk-converter 1.0The PHP License5Localization, PHP 5, Text processing
Description Author

This class can convert English text between US and UK spellings.

It can take a text using the UK English spelling and converts to the US spelling and vice-versa. It features:

- 20,000 words covered;
- Multiple sources for words like VarCon/ISpell (18,000 phrases) and WordsWorldWide (8,000 phrases), each lists have been used to cross-check each different, correct errors, and cast off duplicates.
- Variants for British phrases ('unrealisable' and 'unrealiseable');
- Does everyday expression checking with /bWORDb/, so, it will no longer corrupt phrases. "Ax" becomes "Axe", but "Axiomatic" will continue to be as "Axiomatic";
- Checks each phrase in the word list and its ucwords (higher-cased words) formatted model, so no acronyms may be negatively affected ("our group, AX, Avenger Xenophiles," will not be converted to "our group, AXE, Avenger Xenophiles");
- Atomic / Deterministic : American-ize/British-ify will not corrupt meaning ('discus' and 'diskus' have reverse meanings in US/UK, swapping them

  Performance   Level  
Name: javaria razzaq <contact>
Classes: 1 package by
Country: Pakistan Pakistan
Age: ???
All time rank: 415356 in Pakistan Pakistan
Week rank: 956 Up20 in Pakistan Pakistan Up

  Files folder image Files  
File Role Description
Files folder imageus-to-uk-converter (2 files)
Accessible without login Plain text file Data Auxiliary data

  Files folder image Files  /  us-to-uk-converter  
File Role Description
  Plain text file AmericanBritishSpellings.php Class Class source
  Accessible without login Plain text file index.php Example Example script

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,081
This week:567Up