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

  Author Author  
Picture of Peter Kahl
Name: Peter Kahl <contact>
Classes: 5 packages by
Country: Hong Kong Hong Kong
Age: ???
All time rank: 12165 in Hong Kong Hong Kong
Week rank: 629 Up3 in Hong Kong Hong Kong Up
Innovation award
Innovation award
Nominee: 2x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
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.

  Classes of Peter Kahl  >  Extract Name from Email Address  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Extract Name from Email Address
Base name: extract-name-email
Description: Extract person name from e-mail address header
Version: 1.2.0
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 235 users
All time rank: 6969
Week users: 0 users
Week rank: 1400 Equal
 
  Groups   Rate classes User ratings   Applications   Related pages   Files Files  

  Groups  
Group folder image Email Email sending and receiving View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes


  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

  User ratings  
Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related pages  
github.com/peterkahl/name-extractor
Get the latest version on GitHub

  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

Install with Composer Install with Composer - Download Download all files: extract-name-email.tar.gz extract-name-email.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.