PHP Classes
elePHPant
Icontem

PHP Get All Words: Extract all words from string excluding stop words

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-04-17 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 359 All time: 6,748 This week: 231Up
Version License PHP version Categories
get-words 1.0.0GNU General Publi...5PHP 5, Text processing
Description Author

This class can extract all words from string excluding stop words.

It can take a given text string and extracts the list of all words it contains to a array.

An optional list of stop words may be provided to be excluded from the list of words to return.

The class may lower the case of the words to consider words with upper and lower case letters the same.

Recommendations

Get all words in sentence
Some class to get all of words in sentence

Innovation Award
PHP Programming Innovation award nominee
April 2016
Number 13


Prize: One ebook of choice by Packt
PHP provides an extensive set of functions to manipulate text strings including several ways to split a string into its words.

However, there is no built-in way to detect and exclude stop words.

This class can extract the words of a text excluding stop words. I can also consider words that may appear duplicated but with different case.

Manuel Lemos
  Performance   Level  
Name: Lionel F. Lebeau <contact>
Classes: 4 packages by
Country: France France
Age: 58
All time rank: 252769 in France France
Week rank: 162 Up7 in France France Up
Innovation award
Innovation award
Nominee: 2x

 

  Files folder image Files  
File Role Description
Accessible without login Plain text file Examples.php Example Examples
Plain text file get_words.php Class class to get words

 Version Control Unique User Downloads Download Rankings  
 0%
Total:359
This week:0
All time:6,748
This week:231Up