PHP Classes

Phone Spell: Find words that can spell a phone number

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-10-06 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 505 All time: 5,334 This week: 1,395Up
Version License PHP version Categories  
phone-spell 1.0BSD License5.0Algorithms, PHP 5, Text processing
Description Author  

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
Name: Arturs Sosins <contact>
Classes: 22 packages by
Country: Latvia Latvia
Age: 27
All time rank: 761 in Latvia Latvia
Week rank: 16 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  
 0%Total:505All time:5,334
 This week:0This week:1,395Up