Login   Register  
PHP Classes
elePHPant
Icontem

Typo: Generate variants of words based on typing errors

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-07-17 (6 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 403 All time: 5,879 This week: 1,476Up
Version License PHP version Categories  
typos 1.0GNU General Public Lice...3.0Text processing
Description Author  

This class can be used to generate variants of words based on common typing errors.

It takes a given word a generates variants of that word by replacing its letters with others that are usually near the letter position on a QWERTY keyboard.

The class returns an array with all the generated word variants.

Innovation Award  
PHP Programming Innovation award nominee
July 2008
Number 7


Prize: One book of choice by Packt
When users want to access certain sites, sometimes they make spelling mistakes while typing the domain names.

This is a clever class that can generate variants of a domain name by changing some letters with others that are physically near in a keyboard.

Manuel Lemos
Picture of Daniel Calvi
Name: Daniel Calvi <contact>
Classes: 1 package by
Country: Argentina Argentina
Age: ???
All time rank: 314843 in Argentina Argentina
Week rank: 1909 Up25 in Argentina Argentina Up
Innovation award
Innovation award
Nominee: 1x

Screenshots  
  • Typos_sshot.jpg
  Files folder image Files  
File Role Description
Plain text file todo Data todo list
HTML file example.php Example example usage for the class typo
Plain text file typos.class.php Class Class for calculating typos

 Version Control Unique User Downloads Download Rankings  
 0%Total:403All time:5,879
 This week:0This week:1,476Up