PHP Classes
elePHPant
Icontem

Multibyte Keyword Generator: Extract meta keywords from multi-byte texts

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 (13)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-11-04 (2 years ago) RSS 2.0 feedStarStarStar 58%Total: 1,224 All time: 2,949 This week: 1,029Up
Version License PHP version Categories  
cm-mb-keyword-gen 1.7GNU General Publi...4Text processing, Content management, SEO
Description Author  

This class can be used to Extract meta keywords from multi-byte texts.

It is an enhanced version of the "Automatic Keyword Generator" class originally written by Ver Pangonilo.

This version provides better word segmentation, the ability to handle multi-byte strings, and texts in multiple languages.

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

Details provided by the author  
Multibyte Keyword Generator

https://github.com/peterkahl/multibyte-keyword-generator



This PHP class is based in large part on the "Automatic Keyword
Generator" class by Ver Pangonilo
<http://www.phpclasses.org/browse/package/3245.html> with
additional improvements, among them being better word segmentation and
ability to handle multibyte strings.

This class automatically generates META Keywords for your web pages
based on the contents of a text string. This eliminates the tedious
process of thinking what the best keywords are. The main principle of
this method is the number of occurrences of single words or multiple
words in a text string.

The string supplied to this class may contain HTML tags and
punctuations. Advantage is taken from the presence of line breaks and
punctuations to better guess the best multiple word keyphrases.

This Multibyte Keyword Generator will automatically create single word
keywords, 2-word and 3-word keyphrases. All keywords and keyphrases are
filtered to remove common (useless) words. Common words are defined
within the class and can be associated with specific language.

This class is highly configurable. One can use minimal settings and rely
on defaults. Alternatively, one can choose to obtain ANY combination of
final result: 1-word keywords, 2-word keyphrases, 3-word keyphrases.
Each option can be disabled. For example, one can configure this class
to obtain only 1-word keywords, or only 2-word keyphrases, or only
3-word keyphrases, or all, or any combination.

This class is capable of handling multilingual texts and multibyte
strings.

This class is capable of handling all European languages and is
likely to handle many others as well. You may need to define
common (useless) words for your own language if not already
part of this class.

  Files folder image Files  
File Role Description
Plain text file class.colossal-min...yword-generator.php Class the class itself
Accessible without login Plain text file common-words-en_GB.php Conf. common words ENGLISH
Accessible without login Plain text file common-words-de_DE.php Conf. common words GERMAN
Accessible without login Plain text file common-words-cs_CZ.php Conf. common words CZECH
Accessible without login Plain text file example-BEST-en_GB.php Example the BEST way to use this class
Accessible without login Plain text file example_minimal.php Example using minimal configuration
Accessible without login Plain text file example-cs_CZ.php Example using Czech text
Accessible without login Plain text file example-de_DE.php Example using German text
Accessible without login Plain text file example-en_GB.php Example using English text
Accessible without login Plain text file example_single_words_only.php Example produces only single word keywords
Accessible without login Plain text file README Doc. Readme
Accessible without login Plain text file CHANGELOG Doc. Change log
Accessible without login Plain text file LICENSE Doc. License

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,224All time:2,949
 This week:0This week:1,029Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1066