PHP Classes

VowCon: Determine if words in a string are real or made up

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 355 All time: 6,923 This week: 189Up
Version License PHP version Categories
vowcon 1.2GNU Lesser Genera...4.2Algorithms, PHP 5, Text processing


This package can be used to determine if words in a string are real or made up.

It provides two classes to analise individual words or sentences to evaluate the presence of vowels and consonants.

The classes provide statistics about the string and a score that can be used to determine if the words really exist or are invented due to the presence of many consecutive consonants.

Innovation Award
PHP Programming Innovation award nominee
January 2014
Number 2

Prize: One copy of the Zend Studio
Sometimes it is necessary to determine if a word was written by a real person or is not a real a word.

This class provides a solution to evaluate the probability of a word or a phrase being real or made up.

It analyses the presence of vowels and consonants and returns a score that can be low if there are too many consecutive consonants.

Manuel Lemos
Picture of Roger Baklund
  Performance   Level  
Name: Roger Baklund is available for providing paid consulting. Contact Roger Baklund .
Classes: 7 packages by
Country: Norway Norway
Age: 56
All time rank: 18176 in Norway Norway
Week rank: 483 Up2 in Norway Norway Up
Innovation award
Innovation award
Nominee: 4x



This package provides two classes which can be used for analyzing text with regards to patterns of vowels and consonants. In natural language, there is a certain balance between the two: there are rarely very many consecutive consonants or vowels in a real word.

Many spambots include a randomly generated word in their payload, these words will fail the tests provided by this package.

  • screenshot1.png
  • screenshot2.png
  Files folder image Files  
File Role Description
Files folder imagescreenshots (2 files)
Accessible without login Plain text file Data Auxiliary data
Plain text file ScandinavianVowConAnalyzer.class.php Class Adds scandinavian (norwegian/danish) vowels
Plain text file VowCon.php Class Defines VowConStats and VowConAnalyzer classes
Accessible without login Plain text file VowCon_test_1.php Example basic tests

  Files folder image Files  /  screenshots  
File Role Description
  Accessible without login Image file vowcon_test_1.png Icon Icon image
  Accessible without login Image file vowcon_test_2.png Icon Icon image

 Version Control Reuses Unique User Downloads Download Rankings  
This week:0
All time:6,923
This week:189Up