PHP Classes

Automatic Site Keyword Generator: Automatically suggest keywords from content text

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (11)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 61%Total: 16,325 All time: 50 This week: 146Down
Version License PHP version Categories
autokeyword 1.0.0GNU General Publi...4Text processing, Content management, SEO


This class can automatically suggest keywords from content text. It can be used for instance to suggest keywords for the META tags of a Web site page.

It counts the number of occurrences of single or multiple word expressions within the given content text.

The most frequent expressions are suggested as keywords.

The class exclude a given list of words from the analysis.

Innovation Award
PHP Programming Innovation award winner
July 2006

Prize: One downloadable copy of Roadsend PHP Compiler
Content sites often use keywords to better describe the topics of published articles.

The keywords may help the sites being better indexed by placing the keywords in the page META tags.

Another useful application of the keywords is to build tag clouds that give a better idea of which are most popular topics of a site.

Usually the authors or moderators need to specify the article keywords.

In some cases, it is not convenient to ask the contributors to enter the article keywords, as it is a tedious task that they may not be interested to do.

In other cases, it may not be viable to ask the contributors to associate tags, as the articles were already submitted before keyword association was implemented.

This class provides an automated solution to suggest relevant keywords to be associated to the text of an article.

It provides an alternative solution to the situations described above, on which it is not convenient or viable to ask the original contributors to associate keywords to their articles.

Manuel Lemos
Picture of Ver Pangonilo
Name: Ver Pangonilo <contact>
Classes: 3 packages by
Country: Philippines Philippines
Age: ???
All time rank: 681 in Philippines Philippines
Week rank: 275 Down2 in Philippines Philippines Down
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file class.autokeyword.php Class main autokeyword class file
Accessible without login Plain text file demosite Data A demo site for the class
Accessible without login Plain text file en-keywords.php Example English Version Test application script
Accessible without login Plain text file fr-keywords.php Example A French version of test application

 Version Control Reuses Unique User Downloads Download Rankings  
This week:0
All time:50
This week:146Down
User Ratings User Comments (4)
 All time
Can be quite usefull to use with my library (https://www.
2 years ago (Juraj Puchkı)
14 years ago (kishore kumar)
Simple, but incredibly useful!
15 years ago (Peter Kahl)
16 years ago (webcgo)