PHP Classes

Proper nouns: Extract proper nouns from texts

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,031 This week: 1All time: 3,567 This week: 560Up
Version License PHP version Categories
proper-nouns 1.0BSD License5.0PHP 5, Text processing, Artificial in...
Description 

Author

This class can extract proper nouns from texts.

It takes a text string and can detect which words may be proper nouns of people, entities, etc..

It uses some heuristics like the capitalization of the first word letter, the presence of people title preceeding the nouns, etc..

The class may consider consecutive proper names as a single proper name.

The class assumes English by default but may be configure to work with other idioms.

Innovation Award
PHP Programming Innovation award nominee
June 2011
Number 7


Prize: One year subscription to the PDF edition of the JSMag magazine
Proper nouns are used to refer to people or other entities in text documents, so they are usually written starting with capital letters.

This class uses that kind of heuristics to identify and extract possible proper nouns used in a given text.

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: 411 Down4 in Latvia Latvia Down
Innovation award
Innovation award
Nominee: 13x

Winner: 2x

  Files folder image Files  
File Role Description
Plain text file proper_nouns.php Class Main class
Accessible without login Plain text file simple_example.php Example Simple usage example
Accessible without login Plain text file example.php Example Try it out example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,031
This week:1
All time:3,567
This week:560Up
User Comments (1)