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 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 519 All time: 5,353 This week: 1,167Up
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
  Performance   Level  
Name: Arturs Sosins <contact>
Classes: 22 packages by
Country: Latvia Latvia
Age: 28
All time rank: 661 in Latvia Latvia
Week rank: 23 Up2 in Latvia Latvia Down
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:519All time:5,353
 This week:0This week:1,167Up