PHP Classes

Phone Spell: Find words that can spell a phone number

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 548 All time: 5,528 This week: 206Up
Version License PHP version Categories
phone-spell 1.0BSD License5.0Algorithms, PHP 5, Text processing


This class can find words that can be used to spell a phone number.

It takes a given phone number and tries to find existing words with letters equivalent to the phone number digits.

The class uses the pspell extension to lookup for the existing words but it can also use a custom dictionary to find the equivalent words.

Innovation Award
PHP Programming Innovation award nominee
October 2011
Number 9
Some institutions have phone numbers that can be mapped to letters of words that actually exist and make sense.

This class can take a given phone number and try to find existing words that use letters that are equivalent to the digits used in the given phone number.

Manuel Lemos
Picture of Arturs Sosins
  Performance   Level  
Name: Arturs Sosins <contact>
Classes: 22 packages by
Country: Latvia Latvia
Age: 36
All time rank: 511 in Latvia Latvia
Week rank: 38 Up1 in Latvia Latvia Equal
Innovation award
Innovation award
Nominee: 13x

Winner: 2x

  Files folder image Files  
File Role Description
Plain text file phone_spell.php Class Main class source
Accessible without login Plain text file example.php Example Example usage
Accessible without login Plain text file custom_example.php Example Example with custom dictionary
Accessible without login Plain text file custom_dictionary.txt Data Dictionary for custom example

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,528
This week:206Up