PHP Classes

Google - Did You Mean: Get spelling correction suggestions from Google

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (6)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 53%Total: 2,477 All time: 1,557 This week: 404Up
Version License PHP version Categories
didyoumean 1.0Freeware5.0PHP 5, Text processing, Web services


This class can be used to get suggestions for possibly misspelled words using Google.

It takes an expression of one or more words and accesses Google to perform a search.

If Google search results page suggests an alternative words with eventually correct spelling, the class returns the suggested words.

Innovation Award
PHP Programming Innovation award winner
May 2008

Prize: One book of choice by Apress
Some applications need to verify and eventually fix the spelling of text entered by the users.

Google search achieves this by presenting alternative spelling of text entered by the users when it seems incorrect.

This class takes advantage of this to query Google search and obtain an eventual correction of the spelling of text entered by the users without having to depend on PHP spell checking extensions.

Manuel Lemos
Picture of Diego Garrido de Almeida
Name: Diego Garrido de Almeida is available for providing paid consulting. Contact Diego Garrido de Almeida .
Classes: 3 packages by
Country: Brazil Brazil
Age: 35
All time rank: 79356 in Brazil Brazil
Week rank: 578 Up44 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file Class.Google.DYM.php Class Class.Google.DYM.php

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,557
This week:404Up
User Ratings User Comments (4)
 All time
Parse Google pages with robots is not allowed by Google
14 years ago (Alberto Varela)
brilliant idea and script, use it now on a german website to ...
15 years ago (huw cole)
Só podia ser coisa de brasileiro.
15 years ago (Stephan Alan de Souza)
This is a good idea but not very fool proof.
15 years ago (Michael Strelan)