PHP Classes

Typo: Generate variants of words based on typing errors

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 433 All time: 6,298 This week: 673Up
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: 344545 in Argentina Argentina
Week rank: 215 Up4 in Argentina Argentina Up
Innovation award
Innovation award
Nominee: 1x

Screenshots (1)  
  • Typos_sshot.jpg
  Files folder image Files (4)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:433
This week:0
All time:6,298
This week:673Up