PHP Classes
Icontem

Class: Word Counter


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ashish  >  Word Counter  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Word Counter Support forum
Base name: count_words
Description: Counts number of words in a text string
Related top rated classes: , ,
Version: -
Required PHP version: 3.0
License: Freeware
All time users: 658 users
All time rank: 3196
Week users: 2 users
Week rank: 2989
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Ashish
Name: Ashish <e-mail contact>
Published packages: 2 Browse this author's classes Browse this author's classes
Country: India India - PHP jobs in India
Home page: http://php-classes-functions.blogspot.com/
Age: ???
All time rank: 1463
Week rank: 1176

Groups

Group folder image Text processing Manipulating and validating text data View top rated classes

Detailed description

This is a very simple class that can be used to count the number of words in a text string.

It normalizes the text string converting several types of word separators into spaces. Then it splits the string into groups of characters separated by spaces.

The class returns the number of groups of characters that contain at least one letter or digit to skip counting groups of characters made only of punctuation or other types of characters.

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Perfect (100.0%)
Good (91.7%)
-
-
-
-
Not sure (59.2%)
761
Month:
Not yet rated by the users

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file count_words.php Class Counts number of words in a string
Download all files: count_words.tar.gz count_words.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products