PHP Classes

Proper nouns: Extract proper nouns from texts

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,031 All time: 3,567 This week: 673Up
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: 521 in Latvia Latvia
Week rank: 50 Up1 in Latvia Latvia Equal
Innovation award
Innovation award
Nominee: 13x

Winner: 2x

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,031
This week:0
All time:3,567
This week:673Up
User Comments (1)