Login   Register  
PHP Classes
elePHPant
Icontem

Extract Name from Email Address: Extract person name from e-mail address header

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-11-04 (10 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 238 All time: 6,978 This week: 1,492Up
Version License PHP version Categories  
extract-name-email 1.2.0GNU General Public Lice...5.0Email, PHP 5, Text processing
Description Author  

This class can extract person name from e-mail address header.

It can parse given e-mail header line that should contain a person name and attempts to extract the person name from it.

The class uses certain heuristics to evaluate common ways people put their names in e-mail addresses to split the person names in its multiple parts.

A dictionary of common people names may be used to assure that the extracted names are part of the actual person name.

Innovation Award  
PHP Programming Innovation award nominee
September 2012
Number 5
Some applications receive e-mail messages from users that do not specify their real name.

This class tries to guess the real name of a person that uses given e-mail address by parsing the address and splitting it in possible names that make part of the person real name.

Manuel Lemos
Picture of Peter Kahl
Name: Peter Kahl <contact>
Classes: 5 packages by
Country: Hong Kong Hong Kong
Age: ???
All time rank: 12075 in Hong Kong Hong Kong
Week rank: 334 Up1 in Hong Kong Hong Kong Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Plain text file class.name-extractor.php Class The main class
Accessible without login Plain text file dictionary-names.php Aux. Dictionary of common names
Accessible without login Plain text file example-1.php Example Process single address
Accessible without login Plain text file example-2.php Example Process multiple addresses
Accessible without login Plain text file README.md Doc. Readme

 Version Control Unique User Downloads Download Rankings  
 0%Total:238All time:6,978
 This week:0This week:1,492Up