PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2017-02-25 (9 months ago) RSS 2.0 feedNot enough user ratingsTotal: 328 All time: 6,905 This week: 644Up
Version License PHP version Categories
vowcon 1.2GNU Lesser Genera...4.2Algorithms, PHP 5, Text processing
Description Author

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
  Performance   Level  
Name: Roger Baklund is available for providing paid consulting. Contact Roger Baklund .
Classes: 7 packages by
Country: Norway Norway
Age: 51
All time rank: 18606 in Norway Norway
Week rank: 506 Up3 in Norway Norway Up
Innovation award
Innovation award
Nominee: 4x

Details

VowCon

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.

Screenshots  
  • screenshot2.png
  • screenshot1.png
  Files folder image Files  
File Role Description
Files folder imagescreenshots (2 files)
Accessible without login Plain text file README.md 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  
 75%1
Total:328
This week:0
All time:6,905
This week:644Up