PHP Classes

Typo: Generate variants of words based on typing errors

Recommend this page to a friend!
  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 (8 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 413 All time: 6,123 This week: 1,006Up
Version License PHP version Categories
typos 1.0GNU General Publi...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: 327944 in Argentina Argentina
Week rank: 1542 Up22 in Argentina Argentina Up
Innovation award
Innovation award
Nominee: 1x

  • 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  
This week:0
All time:6,123
This week:1,006Up